HTML DOM TableCell Object

« Previous Chapter Next Reference »

TableCell Object

The TableCell object represents an HTML table cell.

For each <td> tag in an HTML document, a TableCell object is created.

TableCell Object Properties

W3C: W3C Standard.

Property Description W3C
abbr Sets or returns an abbreviated version of the content in a table cell Yes
align Sets or returns the horizontal alignment of data within a table cell Yes
axis Sets or returns a comma-delimited list of related table cells Yes
cellIndex Returns the position of a cell in the cells collection of a row Yes
ch Sets or returns the alignment character for a table cell Yes
chOff Sets or returns the offset of alignment character for a table cell Yes
colSpan Sets or returns the number of columns a table cell should span Yes
headers Sets or returns a list of space-separated header-cell ids Yes
rowSpan Sets or returns the number of rows a table cell should span Yes
scope Sets or returns if this cell provides header information Yes
valign Sets or returns the vertical alignment of data within a table cell Yes
width Sets or returns the width of a table cell Yes

Standard Properties, Methods, and Events

The TableCell object also supports the standard properties, methods, and events.


« Previous Chapter Next Reference »

Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!