Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>用户表</title>
<style>
table,th,td{border:1px solid saddlebrown}
table {border-collapse: collapse; text-align: center}
table tbody tr td,thead tr th{padding: 10px}
</style>
</head>
<body>
<!-- 跨行合并 : rowspan, row行 span 合并 -->
<!-- 合并属性 rowspan/colspan,必须写到td, th中 -->
<table >
<caption>
<h3>用户表</h3>
</caption>
<thead>
<tr>
<!-- th 加粗显示-->
<th>姓名</th>
<th>年龄</th>
<th>手机号</th>
<th>身高</th>
<th>存款</th>
</tr>
</thead>
<tbody>
<tr>
<td>武松</td>
<td>28</td>
<td>189***</td>
<td>194cm</td>
<td>50</td>
</tr>
<!-- tr>td{张三}+td{35}+td{189***}+td{156cm}-->
<tr>
<td>张三</td>
<td>35</td>
<td>189***</td>
<td>156cm</td>
<td>150</td>
</tr>
<tr>
<td>李四</td>
<td>55</td>
<td>172***</td>
<td>169cm</td>
<td>30</td>
</tr>
<tr>
<th colspan="4">财务合计:</th>
<th>230</th>
</tr>
</tbody>
</table>
</body>
</html>
效果图: