HTML如何定义表格的页眉,正文和页脚
HTML提供了一系列的标签<thead>,<tbody>以及<tfoot>可以帮助您创造更多的结构化表,通过定义标题,正文和页脚区域,分别。
下面的示例演示了这些元素的用法。
<table>
<thead>
<tr>
<th>Items</th>
<th>Expenditure</th>
</tr>
</thead>
<tbody>
<tr>
<td>Stationary</td>
<td>2,000</td>
</tr>
<tr>
<td>Furniture</td>
<td>10,000</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Total</th>
<td>12,000</td>
</tr>
</tfoot>
</table>
本文标题:HTML如何定义表格的页眉,正文和页脚
本文链接:https://www.qqooo.cn/post/6758.html
版权说明:网站文章均来源于手工整理和网友投稿,若有不妥之处请来信 xsds@vip.qq.com 处理,谢谢!