16表格儲存格合併_colspan
※表格進階
rowspan="n",表示合併上下列,n代表合併的列數。
colspan="n",表示合併左右列,n代表合併的欄數。
※範例
<table border="1">
<caption>大學生平均身高體重表</caption>
<tr>
<td rowspan="2"> </td>
<th colspan="2">平均</th>
</tr>
<tr>
<th>身高</th>
<th>體重</th>
</tr>
<tr>
<th>男性</th>
<td>171cm</td>
<td>70kg</td>
</tr>
<tr>
<th>女性</th>
<td>162cm</td>
<td>53kg</td>
</tr>
</table>