Create a table using the <table></table> tags
Use <tr></tr> to create the table rows
The <th></th> tags are used for the column headers
Add content to a table cell with the <td></td> tags
Note: The table borders have been styled to show the layout of the table.
Contact | Company | City |
---|---|---|
Bob Bobbler | Trent Iron | Morthon |
Jane Smith | Scy Tech | Botherton |
<table> <tr> <th>Contact</th> <th>Company</th> <th>City<<th> </tr> <tr> <td>Bob Bobbler</td> <td>Trent Iron</td> <td>Morthon</td> </tr> <tr> <td>Jane Smith</td> <td>Scy Tech</td> <td>Botherton</td> </tr> </table>HTML Basics