<caption> Description:
The caption tag describes the nature of the table.
<caption> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 4.0
- XHTML 1.0
Basic Tables Module, Tables Module, Legacy Module
<caption> Attributes:
- align (optional)
- class (optional)
- dir (optional)
- id (optional)
- lang (optional)
- onclick (optional)
- ondblclick (optional)
- onkeydown (optional)
- onkeypress (optional)
- onkeyup (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- style (optional)
- title (optional)
<caption> End Tag:
</caption> REQUIRED
<caption> Contents:
CDATA Usually text. The following tags are valid within the <caption> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var
<caption> Valid Context:
The <caption> tag is valid within the following tag:
table
<caption> Usage:
- table with caption
<table border="1" cellpadding="5"> <caption></caption>This is the caption</caption> <tr><td>table elements</td> <td>column #2</td></tr> </table>
- table with caption on the bottom
<table border="1" cellpadding="5"> <caption align="bottom">This is the caption</caption> <tr><td>table elements</td> <td>column #2</td></tr> </table>
<caption> Special Notes:
- This tag may be rendered differently in different browsers.

