<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>创建表格</title>
</head>
<body>
<h1>完整的表格标记</h1>
<table border="1">
<caption>学生成绩单</caption>
<thead>
<tr>
<th>姓名</th>
<th>性别</th>
<th>成绩</th>
</tr>
</thead>
<tfoot>
<tr>
<td>平均分</td>
<td colspan="2">88</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>张三</td>
<td>男</td>
<td>88</td>
</tr>
<tr>
<td>张三</td>
<td>男</td>
<td>88</td>
</tr>
</tbody>
</table>
</body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title>创建表格</title>
</head>
<body>
<h1>完整的表格标记</h1>
<table border="1">
<caption>学生成绩单</caption>
<thead>
<tr>
<th>姓名</th>
<th>性别</th>
<th>成绩</th>
</tr>
</thead>
<tfoot>
<tr>
<td>平均分</td>
<td colspan="2">88</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>张三</td>
<td>男</td>
<td>88</td>
</tr>
<tr>
<td>张三</td>
<td>男</td>
<td>88</td>
</tr>
</tbody>
</table>
</body>
</html>