Table Summary
In the fourth lesson, we learned everything we need to create tables in HTML and found out that:
- Tables are created using the
table
element. - A table row is created using the
tr
element, which is a child of thetable
element. - Table data is created using the
td
element, which is a child of thetr
element. - Table headers are created using the
th
element, which is a child of thetr
element. - We determine the column span using the
colspan
attribute. - We determine the row span using the
rowspan
attribute.
In the next lesson, we will look at HTML forms, why we need them, how to create them, and more!
Instructions
Congratulations on completing the fourth lesson! Your final code from this lesson is in the editor. Now you can customize the page with your newly acquired knowledge.
Start programming for free
7/7