HTML TutorialLesson 19Free preview
HTML Tables
This lesson is part of HTML · All levels
Summary
HTML tables are used to display row and column-shaped data, arranged from <table>, <tr> for rows, as well as <th> and <td> for cells. <th> marks column or row headings that usually appear thick, whereas <td> is for regular data. For a more meaningful table, use <caption> and the division <thead>, <tbody>, and <tfoot>.
Key points
- <table> is the container, <tr> makes the line
- <th> for the title cell, <td> for the data cell
- <caption> gives the table details
- Use <thead>, <tbody>, <tfoot> for the table structure to be clear
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.