|
|
Designing Webpages |
|
|
HOME INTRODUCTION LAYOUT FORMAT LINKS LISTS TABLES BACKGROUNDS IMAGES NAVIGATION |
TABLESSeveral tags are necessary for a Table; cells are defined by rows first and then columns. | = table header | = table data element (or cell) | The <table> tag can be modified in many ways. Three common attributes of this tag are border, cellpadding (for extra space around each cell), and cellspacing (for extra space between each cell). The <th> and <td> tags can also be modified a couple of ways, including setting the column width and backgcolor. To center a table on the page, use <center> before and </center> after the table.
|---|
| First name | Last name | Telephone |
|---|---|---|
| John | Smith | 732-555-1212 |
| Jane | Brown | 973-555-1212 |
| First name | Last name | Telephone |
|---|---|---|
| John | Smith | 732-555-1212 |
| Jane | Brown | 973-555-1212 |