Challenge - 5 Problems
Heading Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ rendering
intermediate1:30remaining
Visual difference between heading levels
Look at the following HTML snippet. Which heading will appear largest on the page?
HTML
<h1>Heading One</h1> <h3>Heading Three</h3> <h6>Heading Six</h6>
Attempts:
2 left
💡 Hint
Remember, heading tags from h1 to h6 decrease in size.
✗ Incorrect
The <h1> tag is the largest heading by default, followed by <h2>, <h3>, down to <h6> which is the smallest.
🧠 Conceptual
intermediate2:00remaining
Proper use of heading levels for accessibility
Why is it important to use heading tags (<h1> to <h6>) in order without skipping levels?
Attempts:
2 left
💡 Hint
Think about how people who use assistive technology read web pages.
✗ Incorrect
Screen readers use heading levels to create a content outline, so skipping levels can confuse users who rely on them.
📝 Syntax
advanced1:30remaining
Identify the invalid heading tag
Which of these heading tags is NOT valid HTML5?
Attempts:
2 left
💡 Hint
Valid heading tags are numbered from 1 to 6.
✗ Incorrect
HTML5 defines heading tags only from <h1> to <h6>. <h0> is not a valid tag.
❓ selector
advanced1:30remaining
CSS selector for all heading tags
Which CSS selector will select all heading tags from <h1> to <h6>?
Attempts:
2 left
💡 Hint
Think about how to list multiple selectors separated by commas.
✗ Incorrect
To select multiple elements, list them separated by commas. There is no wildcard selector like h* for tags.
❓ accessibility
expert2:00remaining
Screen reader behavior with multiple <h1> tags
What happens when a webpage uses multiple <h1> tags for different sections?
Attempts:
2 left
💡 Hint
Modern HTML5 allows multiple <h1> tags if used correctly.
✗ Incorrect
Using multiple <h1> tags inside different sections or articles is valid and helps screen readers navigate distinct main sections.