表格的分组显示(構造化されたテーブル)(のみ)
1 )按行分组<thead> ... </thead> - 表的题头(header)<tbody> ... </tbody> - (body)<tfoot> ... </tfoot> - 表的脚注(フッター)
例:<テーブルボーダー> <thead> <tr> <th> food </th> <th> drink </th> <th <th> <th> </thead> <tbody> <td> a </td> <td> b </td> <td> c </td> <tr> <td> <td> </td> e </td> </tbody> </table>
2 )按列分组<colgroup align =#>#=左、右、中央
例:<テーブルボーダー幅= 160> <colgroup align = left> <colgroup align = center> <colgroup align = right> <thead> <tr> <th> food </th> <th> sweet </th> </thead> <tbody> <tr> <td> <tr> <td> d </td> <td> e </td> <td> f </td> </tbody> </table>
3 )列的属性控制<col span =#>#=从左数起、具有指定属性的列的列数<col align =#>#=左、右、中央
例:<テーブルボーダー幅= 160> <colgroup> <colgroup> <col align = center span = 2> <colgroup align = right> <thead> <tr> <th> food </th> <th> <th> </thead> <tbody> <tr> <td> <tr> <td> d </td> <td> e </td> <td> f </td> </tbody> </table>