<TD>
The <TD> Tag is used in <TABLE> for Table Data, which is a
single cell inside a Table Row (<TR>).

| Table data - Cell 1 |
Table data - Cell 2 |
| Table data - Cell 3 |
Table data - Cell 4 |

<table border="1" cellpadding="5"
width="75%" cellspacing="3">
<tr>
<td align="center">Table data - Cell 1</td>
<td>Table data - Cell 2</td>
</tr>
<tr>
<td align="center">Table data - Cell 3</td>
<td>Table data - Cell 4</td>
</tr>
</table>
<TD> requires a closing
</TD> Tag, and the
commands that can go inside <TD> are:
| ALIGN- |
Controls whether the data inside a cell is
aligned on the LEFT, RIGHT, or CENTER. Default is LEFT. |
| VALIGN- |
Controls whether the data inside a cell is
aligned on the TOP, BOTTOM, BASELINE, or CENTER.
Default is CENTER. |
| WIDTH- |
Controls the width of the cell, in pixels or
percentage. |
| HEIGHT- |
Controls the height of the cell, in pixels or
percentage. |
| NOWRAP- |
Controls the cell so that any data does not
wrap to fit the width of the cell. |
| COLSPAN- |
Controls how many columns the cell spans.
Default is 1. |
| ROWSPAN- |
Controls how many rows the cell spans. Default
is 1. |
| BGCOLOR- |
Specifies the background color of the cell in
Hex or RGB triplet. |
The following is for Internet Explorer-only:
| BORDERCOLOR- |
Specifies the border color of the cell in Hex
or RGB triplet. |
| BORDERCOLORLIGHT- |
Sets an independent lighter color to be
displayed on the cell. BORDER is
also required, and the color can be in Hex or RGB triplet. |
| BORDERCOLORDARK- |
Sets an independent darker color to be
displayed on the cell. BORDER is
also required, and the color can be in Hex or RGB triplet. |
| BACKGROUND- |
Tiles an image throughout the cell, like <BODY> does
throughout a page. |
See the examples and learn more in
D.J. Quad's Ultimate Table Tutorial!
|