0
0
HTMLmarkup~5 mins

Table rows and columns in HTML - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What HTML tag is used to create a table row?
The <tr> tag is used to create a table row in HTML.
Click to reveal answer
beginner
Which tags define columns inside a table row?
The <td> tag defines a standard data cell (column), and <th> defines a header cell (column) inside a table row.
Click to reveal answer
beginner
What is the difference between <td> and <th>?
<td> creates a normal data cell, while <th> creates a header cell that is usually bold and centered by default.
Click to reveal answer
intermediate
How do you group rows inside a table body?
Use the <tbody> tag to group rows inside the main body of a table.
Click to reveal answer
intermediate
Why should you use semantic tags like <thead>, <tbody>, and <tfoot>?
They help browsers and assistive technologies understand the table structure better, improving accessibility and styling.
Click to reveal answer
Which tag creates a new row in an HTML table?
A&lt;tr&gt;
B&lt;td&gt;
C&lt;th&gt;
D&lt;table&gt;
Which tag is used for a header cell in a table column?
A&lt;thead&gt;
B&lt;td&gt;
C&lt;tr&gt;
D&lt;th&gt;
What tag groups the main rows of a table?
A&lt;thead&gt;
B&lt;tfoot&gt;
C&lt;tbody&gt;
D&lt;tr&gt;
Which tag defines a single data cell in a table row?
A&lt;td&gt;
B&lt;th&gt;
C&lt;tr&gt;
D&lt;table&gt;
Why use semantic tags like <thead> and <tbody>?
ATo add colors to the table
BTo improve accessibility and structure
CTo make the table bigger
DTo add animations
Explain how to create a table with rows and columns in HTML.
Think about how you organize data in a grid on paper.
You got /4 concepts.
    Why is it important to use for header cells instead of just styling ?
    Consider how someone using a screen reader understands the table.
    You got /4 concepts.