Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:一份作业只需要上传一篇就可以了
<!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>
<style>
table{text-align: center;}
</style>
</head>
<body>
<table border="1" width="600px" height="400px" align="center">
<!-- 标题 -->
<caption><h2>人事安排表</h2></caption>
<!-- 表头 -->
<thead>
<tr>
<th>序号</th>
<th>姓名</th>
<th>身份证号</th>
<th>性别</th>
<th>职业</th>
<th>专业</th>
<th>备注</th>
</tr>
</thead>
<!-- 表体 -->
<tbody>
<tr>
<td>1</td>
<td>张强</td>
<td>652901200205042065</td>
<td>男</td>
<td>铁匠</td>
<td>焊接</td>
<td rowspan="3">生产部</td>
</tr>
<tr>
<td>2</td>
<td>麦麦提</td>
<td>652901200205042065</td>
<td>男</td>
<td>木匠</td>
<td>艺术</td>
</tr>
<tr>
<td>3</td>
<td>赛买提</td>
<td>652901200205042065</td>
<td>男</td>
<td>教师</td>
<td>数学</td>
</tr>
<tr>
<td>4</td>
<td>达吾提</td>
<td>652901200205042065</td>
<td>男</td>
<td>教师</td>
<td>语文</td>
<td rowspan="2">销售部</td>
</tr>
<tr>
<td>5</td>
<td>阿迪力</td>
<td>652901200205042065</td>
<td>男</td>
<td>教师</td>
<td>英语</td>
</tr>
</tbody>
<!-- 表尾 -->
<tfoot>
<tr>
<td>总人数</td>
<td colspan="6">5</td>
</tr>
</tfoot>
</table>
</body>
</html>
代码效果如下: