Tables are important for placing desired text or content in a specific area on the page. Without tables the HTML will be viewed as a list starting from the top down. Think of it as creating a grid on the page, and you can place content in each cell of that grid where desired.
The start tag for table is
the table is divided by by Rows and cells (columns) To start a row you use the
tag within this TR tag the cells are placed by using the
tags each start,and end tag will represent a cell, and you can add as many cells as you wish. When you want to end the row you use the
tag. After you complete the number of rows you want you close the table with
the following example is for a simple table that consists of two rows that have two cell each>
this is the content in the first cell in the first row
This is the content in the second cell first row
this is the content in the first cell in the second row
this is the content in the second cell in the second row
HTML tables can be formed using the <Table> tag. This tag
has various properties which can be set using other tags.
* <TH> - Defines a table header * <TR> - Defines a
table row * <TD> - Defines a table data cell *
<Caption> - Defines the table caption * <THead> -
Defines the table head * <TBody> - Defines the table body
Apart from this the <Table> tag has some properties that
can specify the global table specifications.
* Border - To set the table boder * Cellspacing - To set the
spacing between two cells * Cellpadding - To set the padding
between two cells