table 属性和标签
来源:互联网 发布:ios unity3d 使用 编辑:程序博客网 时间:2024/05/01 08:16
常用属性:
border:设置外围框的大小。
frame:设置边框的显示方式(枚举选项)。
Cell padding :设置cell内容与边框之间空白的大小。(内补丁)
Cell spacing :设置cell边框的大小。
cellpadding="10" | Row |
Second | Row |
cellspacing="10" | Row |
Second | Row |
表格标签
表格 | 描述 |
---|---|
<table> | 定义表格 |
<caption> | 定义表格标题。 |
<th> | 定义表格的表头。 |
<tr> | 定义表格的行。 |
<td> | 定义表格单元。 |
<thead> | 定义表格的页眉。 |
<tbody> | 定义表格的主体。 |
<tfoot> | 定义表格的页脚。 |
<col> | 定义用于表格列的属性。 |
<colgroup> | 定义表格列的组。配合<col>可分组定义column的样式。 |
<table border="1" frame="box" cellpadding="5" cellspacing="5">
<caption>
this is caption</caption>
<colgroup>
<!--下面的表格未必能体现出来,IE可以很好地支持,FF不支持color-->
<col style="width: 50px; color: Red" />
<col style="width: 80px; color: Blue;" />
<col style="width: 110px; color: Gray;" />
<col style="width: 150px; color: Green;" />
</colgroup>
<tfoot>
<tr>
<td colspan="4">
this is tfoot
</td>
</tr>
</tfoot>
<thead>
<tr>
<th>
thead
</th>
<th>
thead
</th>
<th>
thead
</th>
<th>
thead
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
tbody1
</td>
<td>
tbody2
</td>
<td>
tbody3
</td>
<td rowspan="2">
tbody4
</td>
</tr>
<tr>
<td>
tbody1
</td>
<td>
tbody2
</td>
<td>
tbody3
</td>
</tr>
</tbody>
</table>
this is tfoot | |||
thead | thead | thead | thead |
---|---|---|---|
tbody1 | tbody2 | tbody3 | tbody4 |
tbody1 | tbody2 | tbody3 |
- table 属性和标签
- html table相关标签和属性
- table标签的属性
- Table中的几个不常用的标签和属性值
- 对table元素相关的标签和属性一点总结
- 前端HTML<table>标签的属性和使用
- <table> 标签的 rules 属性
- form和table标签
- postion使用和table标签的默认属性整理及字体的属性初识
- IE浏览table标签不支持innerHTML属性
- HTML <table> 标签的 frame 属性
- 9-table表格标签及属性
- 0319-table表格标签及属性
- Table中的几个不常用的标签和属性值(不提倡使用,提倡使用css)
- HTML中<table>标签属性,1.水平对齐和2.垂直对齐。(表格)
- table布局和标签总结
- 标签属性和用法
- CSS标签和属性
- C语言中的时间处理函数
- 多线程技术下载文件
- 后台利用脚本交互小知识
- 選択
- Subversion源代码仓库规划一例
- table 属性和标签
- [转]苹果雄起之我见
- 小升初随感--年年小升初,一段辛酸史
- [zt]再谈QQ自动登陆器:提供C#源码下载(下)
- 面对现实
- 深入浅出理解索引结构
- oracle 的redo和undo
- 实施经理的工具箱--走出软件作坊:三五个人十来条枪 如何成为开发正规军(五)
- 让火狐3.0支持老板键