html表格练习

2020-04-12  每日一例第34天

1.表格要求:

 

 

 

 

2.代码:

 

 

 

 

<pre><html>
<head><!–标题语句–>
<tittle> 学生成绩</tittle><!–标题–>
</head>
<br />
<center>
<body><!–内容–>

 

<table border=”1″ height=”200″ width=”300″>
<thead>
<tr>
<th colspan=”3″ height=”50″ >学生成绩表</th>
</tr>
</thead>

 

<tbody>
<tr>
<td align=”center” width=”100″>英语</td>
<td align=”center” width=”100″>数学</td>
<td align=”center” width=”100″ >语文</td>
</tr>
<tr>
<td align=”center” width=”100″ >100</td>
<td align=”center” width=”100″>95</td>
<td align=”center” width=”100″>85</td>
</tr>
</tbody>
</table>

 

</body></br color=”blue”;size=”7″>
</center>
</html></pre>