HTML Reference Guide


Tag Index| Content List| HTML FAQ

<CAPTION> ... </CAPTION> TABLE CAPTION

Description:

Defines the caption for the title of the table. The default position of the title is centered at the top of the table. NOTE: Any kind of markup tag can be used in the caption.

Attributes:

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

Example code:

<TABLE>
<CAPTION> Teachers Name List</CAPTION>
<TR>
<TH>Name</TH>
</TR>
<TR>
<TD>John Smith</TD>
<TD>Middle School</TD>
</TR>
<TR>
<TD>Susan Planter</TD>
<TD>Southern High</TD>
</TR>
</TABLE>

Result:

Teachers Name List
Name 
John SmithMiddle School
Susan Planter Southern High

See Also:

Caption
Table
Table Data
Table Head
Table Row