Definitions

Tables allow you to organize information on a Web page using HTML tags.
A row is a horizontal line of information.
A column is a vertical line of information
A cell: is the intersection of a row and a column.
A heading cell: displays text as bold and center-aligned.
Data cell: displays normal text that is left-aligned.
A table border: is the line that encloses the perimeter of the table.
A table header: is the same as a heading cell-that is, it is any cell with bold text that indicates the purpose of the row or column.
A table caption: is descriptive text located above or below the table that further describes the purpose of the table.
The rules attribute: allows a Web developer to select which internal borders to show in a table.
width attribute: Indicate the width of each column relative to the entire table.
< table > < /table >: Indicates the start and end of a table. All other table tags are inserted within these tags.
< tr > < /tr >: Indicates the start and end of a table row. Rows consist of heading or data cells.
< th > < /th >: Indicates the start and end of a table heading (also called a heading cell). Table headings default to bold text and center-alignment.
< td > < /td >: Indicates the start and end of a data cell in a table. Data cells default to normal text and left-alignment.
Cellspacing: Defines the number of pixels of space between cells in a table.
Cellpadding: Defines the number of pixels of space within a cell.
< caption > < /caption >: A caption can help clarify the purpose of the table.
rowspan attribute: the < th > or < td > tag sets the number of rows spanned by a cell.
colspan attribute: the < th > or < td > tag sets the number of columns spanned by a cell.

Table tag attributes & their function:

align: Controls table alignment (left,center,right)
bgcolor: Sets background color for table.
border: Defines width of table border in pixels.
cellspacing: Defines space between cells in pixels.
cellpadding: Defines space within cells in pixels.
cols: Defines number of columns.
width: Sets table width relative to window width.

< tr > < /tr > tag attributes and their function:

align: Horizontally aligns row (left,center,right,justify).
bgcolor: Sets background color for row.
valign: Vertically aligns row (top,middle,bottom).

< th > < /th > & < td > < /td > tag attributes and their functions:

align: Horizontally aligns cell (left,center,right,justify).
bgcolor: Sets background color for cell.
colspan: Sets number of columns spanned by a cell.
rowspan: Sets number of rows spanned by a cell.
valign: Vertically aligns cell (top,middle,bottom).
Hosted by www.Geocities.ws

1