HTMLTableColElement

The HTMLTableColElement interface provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements.

Properties

Inherits properties from its parent, HTMLElement.

HTMLTableColElement.align This is an obsolete API and is no longer guaranteed to work.
Is a DOMString that indicates the horizontal alignment of the cell data in the column.
HTMLTableColElement.ch This is an obsolete API and is no longer guaranteed to work.
Is a DOMString representing the alignment character for cell data.
HTMLTableColElement.chOff This is an obsolete API and is no longer guaranteed to work.
Is a DOMString representing the offset for the alignment character.
HTMLTableColElement.span
Is an unsigned long that reflects the span HTML attribute, indicating the number of columns to apply this object's attributes to. Must be a positive integer.
HTMLTableColElement.vAlign This is an obsolete API and is no longer guaranteed to work.
Is a DOMString that indicates the vertical alignment of the cell data in the column.
HTMLTableColElement.width This is an obsolete API and is no longer guaranteed to work.
Is a DOMString representing the default column width.

Methods

No specific method; inherits methods from its parent, HTMLElement.

Specifications

Browser compatibility

BCD tables only load in the browser

See also