thead标签
来源:互联网 发布:windows的logo 编辑:程序博客网 时间:2024/04/29 01:37
1、<thead> 标签定义表格的表头。该标签用于组合 HTML 表格的表头内容。
thead 元素应该与 tbody 和 tfoot 元素结合起来使用。
tbody 元素用于对 HTML 表格中的主体内容进行分组,而 tfoot 元素用于对 HTML 表格中的表注(页脚)内容进行分组。
注释:如果您使用 thead、tfoot 以及 tbody 元素,您就必须使用全部的元素。它们的出现次序是:thead、tfoot、tbody,这样浏览器就可以在收到所有数据前呈现页脚了。您必须在 table 元素内部使用这些标签。
提示:在默认情况下这些元素不会影响到表格的布局。不过,您可以使用 CSS 使这些元素改变表格的外观。
例:<table border="1">
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Sum</td>
<td>$180</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</tbody>
</table>
结果如下:
- thead标签
- <thead></thead>标签怎么用?
- HTML <thead> 标签
- HTML <thead> 标签
- thead、tbody标签的用法
- HTML <thead> 标签
- 让 GridView 显示 thead、tbody 标签
- HTML中的THEAD,TBODY,TFOOT,th标签
- GridView生成thead、tbody、tfoot标签
- GridView生成thead、tbody、tfoot标签!
- thead,tbody,tfoot标签的用法
- table标签中thead、tbody、tfoot的作用
- table标签中thead、tbody、tfoot的作用
- Html标签中thead、tbody、tfoot的作用
- table标签中thead、tbody、tfoot的作用
- table标签中thead、tbody、tfoot的作用
- table标签中thead、tbody、tfoot的作用
- Html标签中thead、tbody、tfoot的作用
- 十进制、二进制和十六进制
- 求最大值
- 世界500强面试推理题求答案
- 从进程中获取QQ号码
- 中国身份证号码验证
- thead标签
- 一个用inotify监控apache的脚本
- 新开了博客
- BLOG测试
- 无题
- ssh和dwr集成的一些步骤
- Binary was not build with debug information
- 复制VirtualBox镜像文件
- 制作四旋翼飞行器