Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLTableCellElement

Extends HTMLElement.

Extended by HTMLTableDataCellElement, HTMLTableHeaderCellElement

The td element represents a data cell in a table.

Properties
long
cellIndex
The cellIndex IDL attribute must, if the element has a parent tr element, return the index of the cell's element in the parent element's cells collection. If there is no such parent element, then the attribute must return −1.
unsigned long
colSpan
The colSpan IDL attribute must reflect the colspan content attribute. Its default value is 1.
DOMSettableTokenList
headers
The headers IDL attribute must reflect the content attribute of the same name.
unsigned long
rowSpan
The rowSpan IDL attribute must reflect the rowspan content attribute. Its default value is 1.