The HTMLTableCellElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.
Documentation HTMLTableCellElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Variables
Is a DOMString containing an enumerated value reflecting the align attribute. It indicates the alignment of the element's contents with respect to the surrounding context. The possible values are "left", "right", and "center".
Is a DOMString containing a name grouping cells in virtual. It reflects the obsolete axis attribute.
Is a DOMString containing the background color of the cells. It reflects the obsolete bgColor attribute.
Is a long representing the cell position in the cells collection of the tr it belongs to. If the cell doesn't belong to a tr, it returns -1.
Is a DOMString containing one single chararcter. This character is the one to align all the cell of a column on. It reflects the char and default to the decimal points associated with the language, e.g. '.' for English, or ',' for French. This property was optional and was not very well supported.
Is a DOMString containing a integer indicating how many characters must be left at the right (for left-to-right scripts; or at the left for right-to-left scripts) of the character defined by HTMLTableCellElement.ch. This property was optional and was not very well supported.
Is a unsigned long that represents the number of columns this cell must span. It reflects the colspan attribute.
Is a DOMSettableTokenList describing a list of id of th elements that represents headers associated with the cell. It reflects the headers attribute.
Is a DOMString containing a length of pixel of the hinted height of the cell. It reflects the obsolete height attribute.
Is a Boolean value reflecting the nowrap attribute and indicating if cell content can be broken in several lines.
Is a unsigned long that represents the number of rows this cell must span. It reflects the rowspan attribute.