Tables
Tables
begin and end with the <table> and </table> tags. All table information
must appear between these tags.
<TR> ... a Table Row
<TD> ... a Table Data Cell
<TH> ... a Table Header Cell
<table>
opens the table
<tr>
begins a row in the table
<td>
opens a data cell
Enter your data here... text, links, images, etc.
</td>
closes the data cell
</tr>
closes the table row
</table>
closes the table
Here is a sample table:
<table border=1
bgcolor=yellow>
<tr>
<td><font color="blue">Hello</font></td>
</tr>
</table>
if you want more
rows and more columns:
<table border=2>
<tr>
<td>hi</td>
<td>hi2</td>
</tr>
<tr>
<td>hi3</td>
<td>hi4</td>
</tr>
</table>
so you can change properties like the border and color by adding the information
inside the table tag just like you would do in the body tag to change the background
and text colors.
Other tags that could be included in the table tag:
ALIGN="LEFT/RIGHT/CENTER"
Sets the alignment of text inside a table
BORDER="NUMBER"
Sets the border of the table, if in the table above the border was 0 instead of
2 then no lines would show between and around the hi1, etc.....
CELLPADDING="NUMBER"
Determines amount of space between a cell border and its contents.
CELLSPACING="NUMBER"
Determines the amount of space between individual cells.
WIDTH="NUMBER/PERCENT%"
Sets the width of the table.