title | slug | page-type | browser-compat |
---|---|---|---|
HTMLTableColElement |
Web/API/HTMLTableColElement |
web-api-interface |
api.HTMLTableColElement |
{{ APIRef("HTML DOM") }}
The HTMLTableColElement
interface provides properties for manipulating single or grouped table column elements.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
- {{domxref("HTMLTableColElement.align")}} {{deprecated_inline}}
- : A string that indicates the horizontal alignment of the cell data in the column.
- {{domxref("HTMLTableColElement.ch")}} {{deprecated_inline}}
- : A string representing the alignment character for cell data.
- {{domxref("HTMLTableColElement.chOff")}} {{deprecated_inline}}
- : A string representing the offset for the alignment character.
- {{domxref("HTMLTableColElement.span")}}
- : A positive number that reflects the
span
HTML attribute, indicating the number of columns to apply this object's attributes to.
- : A positive number that reflects the
- {{domxref("HTMLTableColElement.vAlign")}} {{deprecated_inline}}
- : A string that indicates the vertical alignment of the cell data in the column.
- {{domxref("HTMLTableColElement.width")}} {{deprecated_inline}}
- : A string representing the default column width.
No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}
- The HTML element implementing this interface: {{HTMLElement("col")}} and {{HTMLElement("colgroup")}}.