MDN self-hosted library · e01.org

HTMLTableColElement

HTML DOM

no runnable cells web-api-interface upstream source

HTML DOM

The HTMLTableColElement interface provides properties for manipulating single or grouped table column elements.

Instance properties

Inherits properties from its parent, HTMLElement.

  • HTMLTableColElement.align
  • : A string that indicates the horizontal alignment of the cell data in the column.
  • HTMLTableColElement.ch
  • : A string representing the alignment character for cell data.
  • HTMLTableColElement.chOff
  • : 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
  • : A string that indicates the vertical alignment of the cell data in the column.
  • HTMLTableColElement.width
  • : A string representing the default column width.

Instance methods

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

Specifications

Browser compatibility

See also

  • The HTML element implementing this interface: col and colgroup.