Version-//W3C//DTD HTML 4.01//EN
ElementCAPTION
Purposetable caption
DescriptionThis element encloses a descriptive phrase intended to annotate a table.
Start tagRequired <CAPTION>
Attributes
NameTypeDefaultComment
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766; language code
onclick CDATA #IMPLIEDscript expression; a pointer button was clicked
ondblclick CDATA #IMPLIEDscript expression; a pointer button was double clicked
onkeydown CDATA #IMPLIEDscript expression; a key was pressed down
onkeypress CDATA #IMPLIEDscript expression; a key was pressed and released
onkeyup CDATA #IMPLIEDscript expression; a key was released
onmousedown CDATA #IMPLIEDscript expression; a pointer button was pressed down
onmousemove CDATA #IMPLIEDscript expression; a pointer was moved within
onmouseout CDATA #IMPLIEDscript expression; a pointer was moved away
onmouseover CDATA #IMPLIEDscript expression; a pointer was moved onto
onmouseup CDATA #IMPLIEDscript expression; a pointer button was released
style CDATA #IMPLIEDstyle sheet data; associated style info
title CDATA #IMPLIEDtext; advisory title
Content( #PCDATA | TT | I | B | BIG | SMALL | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM | A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | INPUT | SELECT | TEXTAREA | LABEL | BUTTON )*
End tagRequired </CAPTION>
Referenced in TABLE
Example
SourceAppearance
<TABLE>
<CAPTION>The XHTML Playoffs</CAPTION>
<TR> <TH>Game</TH> <TH>Entities</TH> <TH>Elements</TH> </TR>
<TR> <TD>1</TD> <TD>3</TD> <TD>2</TD> </TR>
<TR> <TD>2</TD> <TD>4</TD> <TD>1</TD> </TR>
<TR> <TD>3</TD> <TD>0</TD> <TD>8</TD> </TR>
<TR> <TD>4</TD> <TD>8</TD> <TD>7</TD> </TR>
<TR> <TD>5</TD> <TD>2</TD> <TD>1</TD> </TR>
</TABLE>
The XHTML Playoffs
Game Entities Elements
1 3 2
2 4 1
3 0 8
4 8 7
5 2 1
Save this page to any social bookmarking site! Share · Search · Market · Directory
2013-04-15 · John December · Contact · Terms of Use © December Communications, Inc.