HTMLTableCellElement Interface
The HTMLTableCellElement is the object used to represent the TH and TD elements.
IDL Definition
Interface HTMLTableCellElement : HTMLElement {
readonly attribute long cellIndex;
attribute DOMString abbr;
attribute DOMString align;
attribute DOMString axis;
attribute DOMString bgColor;
attribute DOMString ch;
attribute DOMString chOff;
attribute long colSpan;
attribute DOMString headers;
attribute DOMString height;
attribute boolean noWrap;
attribute long rowSpan;
attribute DOMString scope;
attribute DOMString vAlign;
};
Semantic Requirements
- The cellIndex attribute is the index of this cell in the row.
- The abbr attribute is the abbreviation for header cells.
- The align attribute is the horizontal alignment of data in a cell.
- The axis attribute specifies the names group of related items.
- The bgColor attribute specifies the cell background color.
- The ch attribute specifies an alignment character for cells in a column.
- The chOff attribute is the offset of alignment character.
- The colSpan attribute specifies the number of columns spanned by a cell.
- The headers attribute specifies a list of id attribute values for header cells.
- The height attribute specifies the cell height.
- The noWrap attribute supresses word wrapping.
- The rowSpan attribute specifies the number of rows spanned by a cell.
- The scope attribute specifies the scope covered by header cells.
- The vAlign attribute specifies the vertical alignment of data in a cell.
- The width attribute specifies the cell width.
If you have comments or suggestions, email me at mbrady@nist.gov