Tables are used to easily display information. The tags for tables are <TABLE>....</TABLES>--- Between these two tags you will need to use these tags---<TH>which is for table headings</TH>--<TR>for table rows</TR>--<TD>for table data (the data in each cell)</TD>. There are also a number of attributes that you can use with tables, (please keep in mind that this is just a basic offering of attributes)
<table></table> | cell spacing="" cell padding="" border= |
<TD></TD> |
align=middle; right; left rowspan=; colspan=; BGCOLOR= |
The various attributes, are interchangeable to a certain extent. For example, if you wanted all of the cells to have the same color, you would use the BGCOLOR attribute in the TABLE tag. The CELL PADDING and CELL SPACING attributes always go in the TABLE tag. eg. <TABLE BGCOLoR=#ff80c0 CELL PADDING=3 CELL SPACING=3></TABLE>. You can also change the way in which the rows of cells appear. you would need to use the COLSPAN and ROWSPAN attributes. eg. <TR> colspan=2 rowspan=3</TR></TR> If you wanted to change the way the text looks in each cell, you can use different ALIGN= attributes within the <TD></TD>tags. eg. <TD align=?></TD> you would substitute either middle, right, or left for the ?.
The table that you see above, which lists some of the attributes, has the following syntax---
<TABLE border=3>
<TR>
<TD BGCOLOR=#0080ff>
<table></table>
</TD>
<TD BGCOLOR=#ff80c0>
cell spacing="" cell padding="" border=
</TD>
</TR>
<TR>
<TD BGCOLOR=#ff0000>
<TD></TD>
</TD>
<TD BGCOLOR=#80ffff>
align=middle; right; left
rowspan=; colspan=;
BGCOLOR=
</TD>
</TR>
</TABLE>