HTML Table TD Tag


HTML Table TD Tag (Table Data)

    The <td>&lt/td> tags are the table data tag. It makes a column.


Syntax


<table><tr>

<TD width=xxx bgcolor="#rrggbb" align=position
    valign=position colspan=number>


  text-or-graphics

</TD>
</tr></table>

Modifiers

WIDTH=number
The width is the width of the cell in either pixels or the percentage of the screen (ie; 80%).
ALIGN=position
The align modifier controls the location of an item that is shorter than the screen
width. It can be LEFT, CENTER or RIGHT.
VALIGN=position
The valign modifier controls the vertical locations for the cell. These can be TOP, MIDDLE or BOTTOM.
BGCOLOR="color"
Defines the background color.
COLSPAN=number
Makes the current cell the width of number cells.