ZVON > References > XHTML Reference
   Strict XHTML   Frameset | >> Strict << | Transitional |  [Comparison]

Go to Standard
Element: caption
Attributes: | class | dir | id | lang | onclick | ondblclick | onkeydown | onkeypress | onkeyup | onmousedown | onmousemove | onmouseout | onmouseover | onmouseup | style | title | xml:lang |
Parents: | table |
Children: | #PCDATA | a | abbr | acronym | b | bdo | big | br | button | cite | code | del | dfn | em | i | img | input | ins | kbd | label | map | object | q | samp | script | select | small | span | strong | sub | sup | textarea | tt | var |

Your browser display:
A test table with merged cells
Average Red
eyes
height weight
Males 1.9 0.003 40%
Females 1.7 0.002 43%
Source [  Open as XHTML document  ]

<table border="1" summary="This table gives some statistics about fruit flies: average height and weight, and percentage with red eyes (for both males and females).">
     <caption>
          <em>A test table with merged cells</em>
     </caption>
     <tr>
          <th rowspan="2"/>
          <th colspan="2">Average</th>
          <th rowspan="2">Red
               <br/>eyes
          </th>
     </tr>
     <tr>
          <th>height</th>
          <th>weight</th>
     </tr>
     <tr>
          <th>Males</th>
          <td>1.9</td>
          <td>0.003</td>
          <td>40%</td>
     </tr>
     <tr>
          <th>Females</th>
          <td>1.7</td>
          <td>0.002</td>
          <td>43%</td>
     </tr>
</table>

Your browser display:
Cups of coffee consumed by each senator
Name Cups Type of Coffee Sugar?
T. Sexton 10 Espresso No
J. Dinnen 5 Decaf Yes
A. Soria Not available
Source [  Open as XHTML document  ]

<table border="1">
     <caption>Cups of coffee consumed by each senator</caption>
     <tr>
          <th>Name</th>
          <th>Cups</th>
          <th>Type of Coffee</th>
          <th>Sugar?</th>
     </tr>
     <tr>
          <td>T. Sexton</td>
          <td>10</td>
          <td>Espresso</td>
          <td>No</td>
     </tr>
     <tr>
          <td>J. Dinnen</td>
          <td>5</td>
          <td>Decaf</td>
          <td>Yes</td>
     </tr>
     <tr>
          <td>A. Soria</td>
          <td colspan="3">
               <em>Not available</em>
          </td>
     </tr>
</table>

Your browser display:
CODE-PAGE SUPPORT IN MICROSOFT WINDOWS
Code-Page
ID
Name ACP OEMCP Windows
NT 3.1
Windows
NT 3.51
Windows
95
1200 Unicode (BMP of ISO/IEC-10646) X X *
1250 Windows 3.1 Eastern European X X X X
1251 Windows 3.1 Cyrillic X X X X
1252 Windows 3.1 US (ANSI) X X X X
1253 Windows 3.1 Greek X X X X
1254 Windows 3.1 Turkish X X X X
1255 Hebrew X X
1256 Arabic X X
1257 Baltic X X
1361 Korean (Johab) X ** X
437 MS-DOS United States X X X X
708 Arabic (ASMO 708) X X
709 Arabic (ASMO 449+, BCON V4) X X
710 Arabic (Transparent Arabic) X X
720 Arabic (Transparent ASMO) X X
Source [  Open as XHTML document  ]

<table border="2" frame="hsides" rules="groups" summary="Code page support in different versions of MS Windows.">
     <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
     <col align="center"/>
     <col align="left"/>
     <col align="center" span="2"/>
     <col align="center" span="3"/>
     <thead valign="top">
          <tr>
               <th>Code-Page
                    <br/>ID
               </th>
               <th>Name</th>
               <th>ACP</th>
               <th>OEMCP</th>
               <th>Windows
                    <br/>NT 3.1
               </th>
               <th>Windows
                    <br/>NT 3.51
               </th>
               <th>Windows
                    <br/>95
               </th>
          </tr>
     </thead>
     <tbody>
          <tr>
               <td>1200</td>
               <td>Unicode (BMP of ISO/IEC-10646)</td>
               <td/>
               <td/>
               <td>X</td>
               <td>X</td>
               <td>*</td>
          </tr>
          <tr>
               <td>1250</td>
               <td>Windows 3.1 Eastern European</td>
               <td>X</td>
               <td/>
               <td>X</td>
               <td>X</td>
               <td>X</td>
          </tr>
          <tr>
               <td>1251</td>
               <td>Windows 3.1 Cyrillic</td>
               <td>X</td>
               <td/>
               <td>X</td>
               <td>X</td>
               <td>X</td>
          </tr>
          <tr>
               <td>1252</td>
               <td>Windows 3.1 US (ANSI)</td>
               <td>X</td>
               <td/>
               <td>X</td>
               <td>X</td>
               <td>X</td>
          </tr>
          <tr>
               <td>1253</td>
               <td>Windows 3.1 Greek</td>
               <td>X</td>
               <td/>
               <td>X</td>
               <td>X</td>
               <td>X</td>
          </tr>
          <tr>
               <td>1254</td>
               <td>Windows 3.1 Turkish</td>
               <td>X</td>
               <td/>
               <td>X</td>
               <td>X</td>
               <td>X</td>
          </tr>
          <tr>
               <td>1255</td>
               <td>Hebrew</td>
               <td>X</td>
               <td/>
               <td/>
               <td/>
               <td>X</td>
          </tr>
          <tr>
               <td>1256</td>
               <td>Arabic</td>
               <td>X</td>
               <td/>
               <td/>
               <td/>
               <td>X</td>
          </tr>
          <tr>
               <td>1257</td>
               <td>Baltic</td>
               <td>X</td>
               <td/>
               <td/>
               <td/>
               <td>X</td>
          </tr>
          <tr>
               <td>1361</td>
               <td>Korean (Johab)</td>
               <td>X</td>
               <td/>
               <td/>
               <td>**</td>
               <td>X</td>
          </tr>
     </tbody>
     <tbody>
          <tr>
               <td>437</td>
               <td>MS-DOS United States</td>
               <td/>
               <td>X</td>
               <td>X</td>
               <td>X</td>
               <td>X</td>
          </tr>
          <tr>
               <td>708</td>
               <td>Arabic (ASMO 708)</td>
               <td/>
               <td>X</td>
               <td/>
               <td/>
               <td>X</td>
          </tr>
          <tr>
               <td>709</td>
               <td>Arabic (ASMO 449+, BCON V4)</td>
               <td/>
               <td>X</td>
               <td/>
               <td/>
               <td>X</td>
          </tr>
          <tr>
               <td>710</td>
               <td>Arabic (Transparent Arabic)</td>
               <td/>
               <td>X</td>
               <td/>
               <td/>
               <td>X</td>
          </tr>
          <tr>
               <td>720</td>
               <td>Arabic (Transparent ASMO)</td>
               <td/>
               <td>X</td>
               <td/>
               <td/>
               <td>X</td>
          </tr>
     </tbody>
</table>