Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Similar to an HTML form, you start out creating an HTML table by using the <table> element. It has an opening and closing tag, and it wraps all the table rows and table cells inside of it.
HTML Elements
- <table> - The table element represents data in a series of rows and columns. Tables should only be used for displaying tabular data, and never for page layout.
- <tr> - The table row element defines a row of cells in a table. Table rows can be filled with table cells and table header cells.
- <td> - The table cell element contains data and represents a single table cell. Each table cell should be inside a table row.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up