1. 使用HTML <Table>编写一个显示如下表格的完整网页.
2个回答
展开全部
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<STYLE TYPE="TEXT/CSS">
table {
text-align:center;
}
</STYLE>
</HEAD>
<BODY>
<CENTER>
<TABLE cellspacing=0 width=500 border=1>
<THEAD><TR><TD align="center" colspan=6>2011级《网站涉及与建设》成绩表</TD></TR></THEAD>
<TR>
<TD rowspan=2>学号</TD>
<TD rowspan=2>姓名</TD>
<TD colspan=3>单项成绩</TD>
<TD rowspan=2>总成绩</TD>
</TR>
<TR>
<TD>试验</TD>
<TD>作业</TD>
<TD>笔试</TD>
</TR>
<TR>
<TD>2006020001</TD>
<TD>李小静</TD>
<TD>18</TD>
<TD>9</TD>
<TD>68</TD>
<TD>95</TD>
</TR>
<TR>
<TD>2006020002</TD>
<TD>王丽容</TD>
<TD>14</TD>
<TD>8</TD>
<TD>63</TD>
<TD>85</TD>
</TR>
<TR>
<TD>2006020003</TD>
<TD>郭永光</TD>
<TD>16</TD>
<TD>9</TD>
<TD>66</TD>
<TD>91</TD>
</TR>
<TR>
<TD>2006020004</TD>
<TD>杨玉兰</TD>
<TD>17</TD>
<TD>7</TD>
<TD>58</TD>
<TD>82</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
展开全部
<table border="1">
<tr>
<td rowspan="2" align="center">学号</td>
<td rowspan="2" align="center">姓名</td>
<td colspan="3" align="center">单项成绩</td>
<td rowspan="2">总成绩</td>
</tr>
<tr>
<td align="center">实验</td>
<td align="center">作业</td>
<td align="center">笔试</td>
</tr>
<tr>
<td>200602001</td>
<td>李晓静</td>
<td align="center">18</td>
<td align="center">9</td>
<td align="center">68</td>
<td align="center">95</td>
</tr>
<tr>
<td>200602002</td>
<td>王丽容</td>
<td align="center">14</td>
<td align="center">8</td>
<td align="center">63</td>
<td align="center">85</td>
</tr>
<tr>
<td>200602003</td>
<td>郭永光</td>
<td align="center">16</td>
<td align="center">9</td>
<td align="center">66</td>
<td align="center">91</td>
</tr>
<tr>
<td>200602004</td>
<td>杨玉兰</td>
<td align="center">17</td>
<td align="center">7</td>
<td align="center">58</td>
<td align="center">82</td>
</tr>
</table>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询