HTMLTableCellElement

The interface shared by <td>, <th>. Extends HTMLElementElement.

Reflected properties

All setters are guarded and throw NoModificationAllowedError on a read-only document.

Property Attribute Type Notes
colSpan colspan number unset → 1; clamped to [1, 1000].
rowSpan rowspan number unset → 1; clamped to [0, 65534].
headers headers string Reflects the content attribute verbatim.
scope scope enum Keywords: row · col · rowgroup · colgroup. Missing → ""; invalid → "".
abbr abbr string Reflects the content attribute verbatim.

See also