HTML caption labels - HTML table tags - HTML forms - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

9.1.4 HTML caption labels

Caption labels - HTML forms on behalf of the title
  • Caption label is the pair to <caption>, </ caption> end
  • Attribute
  • Caption: Title
  • Trackback Address: http://www.nt22.com/xhtml-html/tag_caption/

Example

  <table Width = "80%" border = "1" /> <caption> names on </ caption> <tr> <th> www.nt22.com </ th> <th>. Com domain names the number of </ th > <th>. cn domain names the number of </ th> <th>. net number of domain names </ th> </ tr> <tr> <td> 2003 </ td> <td> 1000 </ td> < td> 2000 </ td> <td> 3000 </ td> </ tr> <tr> <td> 2004 </ td> <td> 4000 </ td> <td> 5000 </ td> <td> 6000 </ td> </ tr> <tr> <td> 2005 </ td> <td> 7000 </ td> <td> 8000 </ td> <td> 9000 </ td> </ tr> < / table> 

Description:

  • Caption labels to provide a description of forms, and images of the alt compare like with like. Default, the browser displays the form heading in the table above.
  • CSS-side in the caption attributes used to control the location of title to display forms.

Examples of HTML caption labels