HTML colspan attributes - HTML forms - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

9.3. HTML colspan attribute

Colspan attributes - HTML forms can be achieved more in his leap
  • Col: series span: Span, Span, scope
  • Trackback Address: http://www.nt22.com/xhtml-html/attribute_colspan/

Example

  <table Border = "1" /> <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> "2" <td colspan => 2000 +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> <tr> <td> total </ td> <td colspan = "3" > 24000 </ td> </ tr> </ table> 

Note

  • Colspan attributes can be achieved across multiple cell out
  • Says "24000" crossed the line three, says "2000 +3000" crossed the line 2

Examples of HTML colspan attribute