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.
* Some parts of this feature may have varying levels of support.
TheHTMLTableColElement interface provides properties for manipulating single or grouped table column elements.
In this article
Instance properties
Inherits properties from its parent,HTMLElement.
HTMLTableColElement.alignDeprecatedA string that indicates the horizontal alignment of the cell data in the column.
HTMLTableColElement.chDeprecatedA string representing the alignment character for cell data.
HTMLTableColElement.chOffDeprecatedA string representing the offset for the alignment character.
HTMLTableColElement.spanA positive number that reflects the
spanHTML attribute, indicating the number of columns to apply this object's attributes to.HTMLTableColElement.vAlignDeprecatedA string that indicates the vertical alignment of the cell data in the column.
HTMLTableColElement.widthDeprecatedA string representing the default column width.
Instance methods
No specific method; inherits methods from its parent,HTMLElement.
Specifications
| Specification |
|---|
| HTML> # htmltablecolelement> |
Browser compatibility
See also
- The HTML element implementing this interface:
<col>and<colgroup>.