ZVON > References > [XHTML Basic] Reference
Basic Tables Module > element caption

Go to Standard
Element: caption
Attributes: | class | id | title | xml:lang |
Parents: | table |
Children: | #PCDATA | a | abbr | acronym | br | cite | code | dfn | em | img | input | kbd | label | object | q | samp | select | span | strong | textarea | 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 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>
     <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>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
water softener MSN Alojamiento Web UNLIMITED Web Hosting by HostDepartment UK Domain Names
UK Domain Names VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE