Creating Tables
This tag is used to create a table. Table options are outlined individually
below. Opening and closing tags are required.
<table> - opening tag
</table> - closing tag
Table options:
width: The width of the table. Note that many
older or
lower resolution monitors and laptop devices use a 800 x 600 pixel
display. Tables are often used to force your web pages to a certain
width so all display devices are capable of reading your page uniformly.
Setting a table width no higher than 670 pixels usually accomplishes
this goal.
border: This is a pixel width for a border on the table.
Using a zero will force borderless tables. If you specify a number
in this option, you will have a border (line ruling) around your
tables and cells.
align: Specifies
your table to be horizontally
aligned left, center, or right relative to the container tag in
which it is nested (usually the <body> tag). This is unrelated
to any subsequent
alignment code for content in each table row or cell.

cellpadding: Specifies the padding (in pixels) between
elements inside your table cells and the edges of those cells.

cellspacing: Specifies the spacing between
cells of your table.

bgcolor and background:
You can specify a background color or background image for the area
within your table. Background images do not work in older browsers.
|