<!DOCTYPE?html>
<html>
<head>
????<meta?charset="UTF-8">
????<title>使用thead、tbody、tfoot標(biāo)簽</title>
</head>
<body>
????<thead>
????????<tr>
????????????<th>科目</th>
????????????<th>分?jǐn)?shù)</th>
????????</tr>
????</thead>
????<tbody>
????????<tr>
????????????<td>語文</td>
????????????<td>99</td>
????????</tr>
????????<tr>
????????????<td>數(shù)學(xué)</td>
????????????<td>60</td>
????????</tr>
????</tbody>
????<tfoot>
????????<tr>
????????????<td>總分</td>
????????????<td>159</td>
????????</tr>
????</tfoot>
</body>
</html>
2022-11-09
沒有加表格標(biāo)簽,用<table border="1">.......</table>標(biāo)簽把你的第10行到31行圈起來就可以了!