<table border="1">
<caption>表格的实例</caption>
<tr><td>单元格</td> <td>单元格</td> <td>单元格</td></tr>
<tr><td>单元格</td><td>单元格</td><td>单元格</td></tr>
<tr><td>单元格</td><td>单元格</td><td>单元格</td></tr>
</table>
<table border="1">
<thead style="background: red">
<tr><th colspan="5">aaaa</th></tr>
</thead>
<tbody style="background: red">
<tr><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td></tr>
<tr><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td></tr>
<tr><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td></tr>
</tbody>
<tfoot style="background: green">
<tr><th colspan="5">备注</th></tr>
</tfoot></table>
<table border="1">
<colgroup span="1" style="width: 150px">
<col style="background: red">
</colgroup>
<colgroup span="3" style="width: 200px">
<col style="background: green">
<col style="background: red">
<col style="background: green">
</colgroup>
<colgroup span="1" style="width: 350px"></colgroup>
<tr><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td></tr>
<tr><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td></tr>
<tr><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td><td>aaaa</td></tr>
</table>