Table Cell  - <TD>   -  </TD>

Previous- TBODY - Table Body  |  Next-TEXTAREA - Text area input control

Description
Table detail specifies a single cell within a table.
Attributes
NameValuesDescription
abbrstringProvides an abbreviated version of table cell's content. Not supported in IE4 or Netscape 4
aligncenter|left|right|justify|charAlignment
axiscellnameAssigns a name to a cell (AXIS="cellname") used by external applications in reading the contents of a cell
backgroundstringBackground of inline layer
bgcolorcolorBackground Colour, using syntax "#rrggbb".
bordercolorcolor
bordercolordarkcolor
bordercolorlightcolor
charstringSpecifies the character used to align the text contents of the cell
charoffstringSpecifies the offset to the first occurrence of the character defined in the CHAR attribute
classclassnameClass of the element which is used to associate the element with a style sheet.
colspannumberThe number of columns which the current cell will span
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
event_namescript_codeDefines script to run on event such as OnMouseOver
headersstring
heightnumberHeight
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
languagejavascript|jscript|vbscript|vbs
nowrap
rowspannumberRow Span
scoperow|col|rowgroup|colgroup
stylestringSpecifies style information for the element.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.
valignbaseline|bottom|center|topSpecifies the vertical alignment of the content within the cells
widthnumberWidth

Example
<table border="1">
<thead><th colspan="2">header</th></thead>
<tbody>
    <tr>
        <td colspan="2">this is a double width cell</td>
    </tr>
    <tr>
        <td>this is the first cell</td>
        <td>this is the second cell</td>
    </tr>
</tbody>
<tfoot>the is the tfoot area</tfoot>
</table>
Will be displayed as :
the is the tfoot area
header
this is a double width cell
this is the first cell this is the second cell

Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES YES YES YES YES YES YES YES YES

Previous- TBODY - Table Body  |  Next-TEXTAREA - Text area input control