Web-Nation

How to Build a Table

The best way to understand the table tags, is to get a picture in your mind of what each tag does. Below is a table with the tags visible to the viewer.


<TABLE WIDTH= 95%>

<TR>

<TD VALIGN=Center Align=TOP>
Row 1 Col 1
</TD>

<TD>
Row 1 Col 2
</TD>
<TD>
Row 1 Col 3

</TD></TR>

<TR>

<TD VALIGN=Center Align=Left>
Row 2 Col 1
</TD>

<TD COLSPAN=2>
Row 2 Col 2
</TD></TR>

</TABLE>


See the same table with cell borders 5 pixels wide .

See a detailed explanation of the table tags as they are used in this slide.