HTML Reference Guide


Tag Index| Content List| HTML FAQ

... TABLE DATA (CELL)

Description:

Defines a table data cell.

Attributes:

align - specifies whether the caption appears at the top or bottom of the table.

valign - default vertical alignment for the entire row, including top, bottom, middle.

width/height - dimensions for the cell; may be in pixel value or percentage of the table.

colspan - specify how many columns for the current cell to span or cross.

rowspan - specify how many rows for the current cell to span or cross.

Example code:














Teachers Name List
Name
Joe Blow Middle School
Susan Planter Southern High

Result:

Teachers Name List
Name 
Joe Blow Middle School
Susan Planter Southern High

See Also:

Caption
Table
Table Data
Table Head
Table Row