Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
* Some parts of this feature may have varying levels of support.
The HTMLTableColElement interface provides properties for manipulating single or grouped table column elements.
EventTarget Node Element HTMLElement HTMLTableColElementInherits properties from its parent, HTMLElement.
HTMLTableColElement.alignA string that indicates the horizontal alignment of the cell data in the column.
HTMLTableColElement.chA string representing the alignment character for cell data.
HTMLTableColElement.chOffA string representing the offset for the alignment character.
HTMLTableColElement.spanA positive number that reflects the span HTML attribute, indicating the number of columns to apply this object's attributes to.
HTMLTableColElement.vAlignA string that indicates the vertical alignment of the cell data in the column.
HTMLTableColElement.widthA string representing the default column width.
No specific method; inherits methods from its parent, HTMLElement.
| HTML # htmltablecolelement |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 10, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.