Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.57 KB

File metadata and controls

45 lines (31 loc) · 1.57 KB
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}}

Instance properties

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.
  • {{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.

Instance methods

No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • The HTML element implementing this interface: {{HTMLElement("col")}} and {{HTMLElement("colgroup")}}.