<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<table border="1">
<caption>用户表</caption>
<thead>
<tr>
<th>序号</th>
<th>姓名</th>
<th>性别</th>
<th>年龄</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>张三</td>
<td rowspan="3">男</td>
<td>18</td>
</tr>
<tr>
<td>1</td>
<td>李四</td>
<!--<td>男</td>-->
<td>20</td>
</tr>
<tr>
<td>1</td>
<td>杨六</td>
<!--<td>男</td>-->
<td>32</td>
</tr>
<tr>
<td>1</td>
<td>小梅</td>
<td rowspan="2">女</td>
<td>13</td>
</tr>
<tr>
<td>1</td>
<td>翠花</td>
<!--<td>女</td>-->
<td>14</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3">年龄总和</td>
<!--<td></td>-->
<!--<td></td>-->
<td>97</td>
</tr>
</tfoot>
</table>
</body>
</html>