<td> description:
The <td> element defines table cells.
<td> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0: XHTML Basic Tables Module, XHTML Tables Module
<td> Attributes:
- abbr (optional)
- align (optional)
- axis (optional)
- bgcolor (optional) DEPRECATED
- char (optional)
- charoff (optional)
- class (optional)
- dir (optional)
- headers (optional)
- height (optional) DEPRECATED
- id (optional)
- lang (optional)
- nowrap (optional) DEPRECATED
- onclick (optional)
- ondblclick (optional)
- onkeydown (optional)
- onkeypress (optional)
- onkeyup (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- style (optional)
- title (optional)
- valign (optional)
- width (optional) DEPRECATED
<td> End Tag:
</td> optionalContents:
Usually text. The following tags are valid within the <td> tag:
a, abbr, acronym, address, applet, b, basefont, bdo, big, blockquote, br, button, center, cite, code, dfn, dir, div, dl, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, img, input, isindex, kbd, label, map, menu, noframes, noscript, object, ol, p, pre, q, s, samp, script, select, small, span, strike, strong, sub, sup, table, textarea, tt, u, ul, var
<td> Valid Context:
The <td> tag is valid within the following tags:
tr
<td> Usage:
- basic table
<table border width="200">
<tr><td>
column 1
</td><td>
column 2
</td></tr>
</table>
<td> Special Notes:
- While you can omit the ending tag, tables are easier to read when they are present, and it gives you better control over style tags.
- When using nested tables, if the td tags are not closed, the browsers may become confused as to which table elements go with which table.

