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.
The HTMLTableColElement
interface provides properties for manipulating single or grouped table column elements.
Instance properties
Inherits properties from its parent, HTMLElement
.
HTMLTableColElement.align
Deprecated-
A string that indicates the horizontal alignment of the cell data in the column.
HTMLTableColElement.ch
Deprecated-
A string representing the alignment character for cell data.
HTMLTableColElement.chOff
Deprecated-
A string representing the offset for the alignment character.
HTMLTableColElement.span
-
A positive number that reflects the
span
HTML attribute, indicating the number of columns to apply this object's attributes to. HTMLTableColElement.vAlign
Deprecated-
A string that indicates the vertical alignment of the cell data in the column.
HTMLTableColElement.width
Deprecated-
A string representing the default column width.
Instance methods
No specific method; inherits methods from its parent, HTMLElement
.
Specifications
Specification |
---|
HTML Standard # htmltablecolelement |
Browser compatibility
BCD tables only load in the browser
See also
- The HTML element implementing this interface:
<col>
and<colgroup>
.