Tables can be used to structure information into rows and columns.
Because of the limitations of HTML, tables are often used by web designers to control page layout.
TABLE ROW |
cell content |
cell content |
|
|
|
cell content |
cell content |
|
There are three levels of hierarchy for tables: each cell (<TD>), each row <TR>, and the table container itself (<TABLE>). The table below represents the tags necessary for creating the table above.
<TABLE> |
|
|
|
<TR> |
<TD> |
<TD> |
|
<TR> |
<TD> |
<TD> |
|
</TABLE> |
|
|
|