DOM TableCell Object
The TableCell object represents an HTML table cell.
For each <td>
tag in an HTML document, a TableCell object is created.
Properties
Property | Description |
---|---|
abbr |
Sets or returns an abbreviated version of the content in a table cell |
align |
Sets or returns the horizontal alignment of data within a table cell |
axis |
Sets or returns a comma-delimited list of related table cells |
cellIndex |
Returns the position of a cell in the cells collection of a row |
ch |
Sets or returns the alignment character for a table cell |
chOff |
Sets or returns the offset of alignment character for a table cell |
colSpan |
Sets or returns the number of columns a table cell should span |
headers |
Sets or returns a list of space-separated header-cell ids |
rowSpan |
Sets or returns the number of rows a table cell should span |
scope |
Sets or returns if this cell provides header information |
vAlign |
Sets or returns the vertical alignment of data within a table cell |
width |
Sets or returns the width of a table cell |
Standard Properties and Methods
This object also supports the standard properties and methods.
Standard Events
This object also supports the standard events.