![]() |
HTML - Tables |
|||||||
|
Tables are useful for presenting tabular information on web pages but more importantly perhaps, they are used for laying out and controlling the appearance of pages. You can view this page to get more information on tables and layouts. Once you have created a table you will need to add rows and then table cells. The table tag is <table> and needs to be closed at the end of the table
</table> |
| Table <table> </table> | Table Row <tr> </tr> | Table Data <td> </td> |
Table attributes:
|
Row attributes:
|
Cell attributes:
|
|
To create a basic table with two rows and three columns (table cells), the code is as follows:
Notes:
TIP Even if you don't want a border on your finished table, include it at the design stage as it makes working with the table easier.
site map | index | email me | top
|