ylbtech-浏览器端-W3School-HTML:HTML DOM Table 对象 |
1.返回顶部 |
1、
HTML DOM Table 对象
Table 对象
Table 对象代表一个 HTML 表格。
在 HTML 文档中 <table> 标签每出现一次,一个 Table 对象就会被创建。
Table 对象属性
属性 | 描述 |
---|---|
align | 表在文档中的水平对齐方式。(已废弃) |
bgColor | 表的背景颜色。(已废弃) |
border | 设置或返回表格边框的宽度。 |
caption | 对表格的 <caption> 元素的引用。 |
cellPadding | 设置或返回单元格内容和单元格边框之间的空白量。 |
cellSpacing | 设置或返回在表格中的单元格之间的空白量。 |
frame | 设置或返回表格的外部边框。 |
id | 设置或返回表格的 id。 |
rules | 设置或返回表格的内部边框(行线)。 |
summary | 设置或返回对表格的描述(概述)。 |
tFoot | 返回表格的 TFoot 对象。如果不存在该元素,则为 null。 |
tHead | 返回表格的 THead 对象。如果不存在该元素,则为 null。 |
width | 设置或返回表格的宽度。 |
2、
2.返回顶部 |
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
1、
2、
6.返回顶部 |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |