HTMLTableColElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
HTMLTableColElement
接口提供用于操作表格单个列元素或列组元素的特定属性。
实例属性
从其父接口 HTMLElement
继承属性。
HTMLTableColElement.align
已弃用-
一个表示列中单元格数据水平对齐的字符串。
HTMLTableColElement.ch
已弃用-
一个表示单元格数据对齐字符的字符串。
HTMLTableColElement.chOff
已弃用-
一个表示对齐字符偏移量的字符串。
HTMLTableColElement.span
-
一个反映
span
HTML 属性的正数,指示要应用此对象属性的列数。 HTMLTableColElement.vAlign
已弃用-
一个表示列中单元格数据垂直对齐的字符串。
HTMLTableColElement.width
已弃用-
一个表示默认列宽的字符串。
实例方法
没有特定的方法,从其父接口 HTMLElement
继承方法。
规范
Specification |
---|
HTML # htmltablecolelement |
浏览器兼容性
Report problems with this compatibility data on GitHubLegend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- 实现此接口的 HTML 元素:
<col>
和<colgroup>
。