Table Structure

You need to know about the four basic table tags:

The table tag is a container for every other tag used to create a table in the HTML. The opening and closing table tags should be placed at the beginning and the end of your table.


The TR tag stands for table row. the opening and closing TR tags surround the cells for that row.
The TD tag stands for table data and holds the actual content for the cell. there's and opening and closing TD tag for each cell in each row.
The TH tag stands for table header. An optional tag used instaed of the TD tag, this tag defines a cell container hearder information. by default, the content in header cells is bolded and centered.