HTMLTableCellElement : HTMLElement

A td or th element in an HTML table.

Browser/User Agent Support

IEMozillaNetscapeOperaSafariNetscapte
4.0+1.0+6.0+7.0+1.0+no

Constructors

ConstructorIEMozillaNetscapeOperaSafariNetscapte
A td or th element in an HTML table.
4.0+1.0+6.0+7.0+1.0+no
 

Properties

PropertyIEMozillaNetscapeOperaSafariNetscapte
Position of the element in its table row.
4.0+1.0+6.0+7.0+1.0+no
  • Safari: Incorrectly calculated in Safari (as of 1.3)

Availability

HTML DOM Level 1 | HTML DOM Level 2 | W3C

Constructor Detail

HTMLTableCellElement HTMLTableCellElement()

A td or th element in an HTML table.

Visibility
internal

Property Detail

Number cellIndex - read only

Position of the element in its table row.

For examples, see the quirksmode test page:

http://www.quirksmode.org/dom/tests/table_access.html

Availability

HTML DOM Level 1 | HTML DOM Level 2 | W3C