Tables(continued)

Every HTML table must contain <TABLE>, <TR>, and <TD> elements that define the table structure.
Those elements are:


<TABLE>

<TR>
<TD>
<TD>

<TR>
<TD>
<TD>

</TABLE>

<TABLE></TABLE>

Contains the entire table. Both tags are required.

 

<TR></TR>

Contains a collection of 1 or more Table Data cells. The number of <TD> elements within each <TR> determine the number of columns for that table.

</TR> is optional.

 

<TD></TD>

Contains the actual content for each table cell.

</TD> is optional.