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

Change Font Size: / / Directory List

9.1. HTML table tags

9.1.1. HTML tr labels
9.1.2. HTML th labels
9.1.3. HTML td tags
9.1.4. HTML caption labels
9.1.5. HTML summary attributes
9.1.6. HTML cellpadding attribute and cellspacing
Table tags - on behalf of HTML forms
  • Paired table is the label to <table> began to </ table> end
  • Attribute
    • Common - general attributes
    • Summary - of a form of a summary of the
    • Width - of a form of the width of
    • Border - of a form of frame (this property should be used to achieve CSS)
    • Cellspacing - of a form of table filled with framed the distance is the distance between the filler content (this property should be used to achieve CSS)
    • Cellpadding - filled with representatives of the width of the content (this property should be used to achieve CSS)
  • Table: Table
  • Trackback Address: http://www.nt22.com/xhtml-html/tag_table/

Example

  <table Width = "80%" border = "1" /> <tr> <th> www.nt22.com </ th> <th>. Com domain names the number of </ th> <th>. Cn domain names quantity < / 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> 

Examples of HTML forms

Description:

  • Width - is the width of forms, you can use the pixels or percentage px
  • Border - is the width of the border forms, the use of px said that the properties should be used to achieve CSS.
  • Tr - on behalf of his party
  • Th - the first form of
  • Td - on behalf of a cell