Home | Hosting | Dreamweaver CS3 | CSS | Copyright1 | Typography | Linking | Tables |layout|Color | Resources| Forms| Accessibility
Tables are a good organization tool to make pages look more clean. It helps the user to see what categories the web site creator has identified. For example, on the TeaCloud page the author had set a product, description, and price category. A table is defined as " a highly versatile feature in XHTML." Tables add help for the author of the page as well by creating an easier way to position elements on a page.
A table contains rows (horizontal elements) and columns (vertical elements). It may contain a header row or column that is highlighted a majority of the time with bold font.
| Tag | Use |
|---|---|
| <table> | The <table> tag determines the start and end of a table. You can specify the entire width of the table, whether the table has a border, and the spacing to place between table cells. |
| <caption> | The <caption> tag places a text heading above the table, which labels the table for reference. For instance, a table containing a third-quarter financial report might have a caption of Q3 Financials. |
| <tr> | The <tr> tag defines the start and end of a table row. |
| <th> | The <th> tag defines a table header, which acts as a label fora group of table cells, whether they're in a row or a column |
| <td> | The <td> tag defines a standard table cell. |