Table Caption

End Tag: Required
Support Key: 2 | 3 | 3.2 | 4 | IE2 | M2A8 | N1.1 | O2.1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
The CAPTION element is an optional table component which displays a caption/title for the table either directly above or below the table. The CAPTION element is contained within the TABLE element, but is used at the same level as the table row element [TR] is.

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE3 | M | N4B2 | O
%Events%
2 | 3 | 3.2 | 4 | IE4B1 | M | N | O
%Language%
2 | 3 | 3.2 | 4 | IE4 | M | N | O

Specific Attributes
Align
2 | 3 | 3.2 | 4 | IE2 | M2A8 | N1.1 | O2.1
Required? No
Description:
The Align attribute specifies the alignment of the caption relative to the table. Internet Explorer also defines extra Align values for horizontal alignment within the Caption.
Values:
Top, Bottom - regular attributes
Left, Center and Right - extra Internet Explorer 2.0 values for horizontal alignment of data within the table caption.)
VAlign
2 | 3 | 3.2 | 4 | IE2 | M | N | O
Required? No
Description:
This is an Internet Explorer attribute which takes the place of vertical caption positioning relative to the table.
Values: Top | Bottom
Example
[Using the Simple Table Model]
<table BORDER="2" ALIGN="left" CELLPADDING="5" BORDERCOLOR="#ff0000" WIDTH="75%">
      <caption ALIGN="top">Juggling Capabilities of Waterfront Performers</caption>
      <tr> <th>Juggler</th> <th>Pins</th> <th>Bowling Balls</th> <th>Flaming Baseballs</th> </tr>
      <tr> <td>Bob</td> <td>5</td> <td>2</td> <td>5</td> </tr>
      <tr> <td>Larry</td> <td>2</td> <td>7!!!</td> <td>NA</td> </tr>
      <tr> <td>Julie the Great</td> <td>1</td> <td>2</td> <td>20<br>(She IS great!)</td> </tr>
      <tr> <th COLSPAN=4>NOTE: This is only a small sample</th> </tr>
</table>
Parent Model
<table>
Content Model
%In-line Content%
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...