HTML Reference Guide


Tag Index| Content List| HTML FAQ

...
TABLE

Description:

Defines a table in HTML.

Attributes:

border - specifies a visible border width for a table.

cellspacing - specifies a pixel width for spacing between cells, visible if a border > 1.

cellpadding - specifies a pixel width/value for spacing from the cell border and the content of the cell.

width - gives pixel dimensions or percentages for the width of the table.

Example code:














Teachers Name List
Name
Joe BlowMiddle School
Susan PlanterSouthern High

Result:

Teachers Name List
Name 
Joe BlowMiddle School
Susan PlanterSouthern High

See Also:

Caption
Table
Table Data
Table Head
Table Row