HTML DOM THead 对象
THead 对象
THead 对象代表一个 HTML <thead> 元素。
访问 THead 对象
您可以使用 getElementById() 来访问 <thead> 元素
创建 THead 对象
您可以使用 document.createElement() 方法创建一个 <thead> 元素
THead 对象属性
属性 | 描述 |
---|---|
align | HTML5 中不推荐使用。请改用 style.textAlign。 设置或返回 thead 元素中内容的水平对齐方式 |
ch | HTML5 中不推荐使用。 设置或返回 thead 元素中的对齐字符 |
chOff | HTML5 不支持。 设置或返回 ch 属性的水平偏移量 |
vAlign | HTML5 中不推荐使用。请改用 style.verticalAlign。 设置或返回 thead 元素中内容的垂直对齐方式 |
标准属性和事件
相关页面
HTML 教程:HTML 表格
HTML 参考:HTML <thead> 标签