Recall & Review
beginner
What HTML tag is used to create a table?
The
<table> tag is used to create a table in HTML.Click to reveal answer
beginner
What tags define rows and cells inside a table?
Rows are defined with
<tr> tags. Inside rows, header cells use <th> and regular cells use <td>.Click to reveal answer
intermediate
What is the purpose of the
<thead>, <tbody>, and <tfoot> tags?They group parts of a table:
<thead> for header rows, <tbody> for body rows, and <tfoot> for footer rows. This helps organize and style tables.Click to reveal answer
beginner
How do you make a table header cell different from a regular cell?
Use
<th> for header cells. They are bold and centered by default, helping users understand the table's columns or rows.Click to reveal answer
intermediate
Why should tables use semantic tags like
<th> and <caption>?Semantic tags improve accessibility. Screen readers can better describe the table, and browsers can style it properly.
<caption> gives a title to the table.Click to reveal answer
Which tag starts a new row in an HTML table?
✗ Incorrect
The
<tr> tag defines a table row.Which tag is used for a header cell in a table?
✗ Incorrect
The
<th> tag creates a header cell, which is bold and centered by default.What tag groups the main content rows of a table?
✗ Incorrect
<tbody> groups the body rows of a table.Which tag provides a title or description for a table?
✗ Incorrect
The
<caption> tag adds a title or description to a table.Why is it important to use semantic tags in tables?
✗ Incorrect
Semantic tags help screen readers and browsers understand and style tables better.
Explain the basic structure of an HTML table and the purpose of its main tags.
Think about how rows and cells are organized inside a table.
You got /5 concepts.
Describe why using semantic tags like and is important for tables.
Consider how people with disabilities or browsers benefit.
You got /4 concepts.