Main content
Unlisted resources area
Course: Unlisted resources area > Unit 2
Lesson 2: Webpage documentation- HTML: The h1 to h6 tags
- HTML: The p tag
- HTML: The br tag
- HTML: The ul, ol, and li tags
- HTML: The strong and em tags
- HTML: The a tag
- HTML: The image tag
- HTML: The table tags
- CSS: The element selector
- CSS: The descendant selector
- CSS: The class selector
- CSS: The id selector
- CSS: The color property
- CSS: The background-color property
- CSS: The font-family property
- CSS: The font-size property
© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice
HTML: The table tags
The
<table>
tag is used to format tabular data. The table tag must contain all of the child tags needed to format the data into headers, rows, and columns.A table should start with a header row with the column names. The
<thead>
element starts the header area, the <tr>
element creates a row, and <th>
elements create cells in the row. A table can consist of any number of data rows after the header. The <tbody>
tag begins the body (data) area, the same <tr>
tag creates a row, and <td>
tags create data cells in each row.