合并单元格关键语句:
<th colspan=“5” ></th>合并5列
<td rowspan=“4”></td>合并4行
个人简介 | ||||
---|---|---|---|---|
姓 名: | 性 别: | |||
婚姻状况: | 出生年月: | |||
民 族: | 政治面貌: | |||
身 高: | 学 历: |
<table align="center" border="1" cellpadding="10" cellspacing="0" width="800" height="240">
<thead>
<th colspan="5" bgcolor="green">个人简介</th>
</thead>
<tbody>
<tr>
<th>姓 名:</th>
<td> </td>
<th>性 别:</th>
<td> </td>
<td rowspan="4"> </td>
<tr>
<th>婚姻状况:</th>
<td> </td>
<th>出生年月:</th>
<td> </td>
</tr>
<tr>
<th>民 族:</th>
<td> </td>
<th>政治面貌:</th>
<td> </td>
</tr>
<tr>
<th>身 高:</th>
<td> </td>
<th>学 历:</th>
<td> </td>
</tr>
</tbody>
</table>