- Learn the best web site design techniques
- Complete HTML tables tags list
- Get help putting HTML tables on your web site
The <td> tag starts a conventional table cell. This tag must be placed within both the <table> and <tr>
tags.
Here is an example
<td bgcolor"#FFFFFF" align="center" valign="center" colspan="2">
Here are the attributes
bgcolor - Sets the background color of the cell
align - Sets the justification of the cell contents (see above for possible inputs)
valign - Sets the vertical justification of the cell content (see above for possible inputs)
colspan - Tables are meant to be grids, but this makes it so you can join cells horizontally
rowspan - Distance of the cell walls from its contents
* = mandatory
This is probably pretty confusing right now, be sure to read all our HTML table tutorials and check out the examples so you can put together all you have learned.