HTML colgroup label - in the definition of style - HTML forms - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

9.7.1 HTML colgroup labels

Colgroup labels - that the structure of HTML tables of the area, in this area can be defined through the use of col List each grid pattern
  • Colgroup the label is paired to <colgroup> began to </ colgroup> end
  • Attribute
    • Common - general attributes
    • Span - a definition across the colgroup listed, as a default value
  • Trackback Address: http://www.nt22.com/xhtml-html/tag_colgroup/

Example

  <table Border = "1" /> <colgroup> <col /> <col class = "yellow" /> <col /> <col span class = = "2" "blue" /> </ colgroup> <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> <th> . com.cn the number of domain names </ th> </ tr> <tr> <td> 2003 </ td> <td> 1000 </ td> <td> 2000 </ td> <td> 3000 </ td > <td> 4000 </ td> </ tr> </ table> 

Examples of HTML colgroup labels