Understanding HTML tables Part 3
|
Table Attributes
There are various attributes you can use in your tables which will change the way they are displayed. By doing this, you can display your tables/data exactly how you want it displayed on your page.You can use all of the attributes in the one tag, for example:
Borders
|
|
|
|
|
|
Cellpadding and Cellspacing
- Cellpadding is the distance between the edge of the table data cell and the data within it. It's the 'padding' of the cell.
- Cellspacing is the distance between the cells themselves.
|
|
|
|
|
|
|
|