All tables start with the <TABLE> tag and end with </TABLE> tag.
Between these two tags go other tags describing the columns, rows, and other
stuff in the table. First let's look at the attributes that go with the <TABLE>
tag.
- BORDER this attribute tells how wide to make the border
for the table. A value of zero hides the border.
- CELLSPACING determines the spacing between the table
cells.
- CELLPADDING is the width of the margin inside of each
cell.
- COLS is an optional tag that is not used much any more. It
used to tell the browser how many columns there are in the table. Now you just use
<TR> for each Table Row that you want and <TD> for each table collumn.
- WIDTH determines the width of the entire table. WIDTH can be
specified in the number of pixels like this: WIDTH="300" for a table 300 pixels wide, or
like this: WIDTH="90%" to have the browser use 90% of the screen width
- HEIGHT