Challenge - 5 Problems
Semantic HTML Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Why use semantic HTML tags?
Which of the following is the main reason to use semantic HTML tags like ,
Attempts:
2 left
💡 Hint
Think about how assistive technologies read web pages.
✗ Incorrect
Semantic tags give meaning to the content, which helps screen readers and other assistive tools navigate the page better. This improves accessibility for users with disabilities.
📝 Syntax
intermediate1:30remaining
Identify the semantic HTML tag for navigation
Which HTML tag is the correct semantic element to wrap a website's main navigation links?
Attempts:
2 left
💡 Hint
This tag is specifically designed for navigation menus.
✗ Incorrect
The
❓ rendering
advanced2:00remaining
Effect of semantic tags on browser rendering and SEO
What visible difference will you see in a browser when replacing multiple
tags with semantic tags like and without CSS?
Attempts:
2 left
💡 Hint
Think about how browsers treat new HTML5 tags by default.
✗ Incorrect
Semantic tags behave like block elements by default but do not add any special styling. They mainly provide meaning, not visual changes.
❓ selector
advanced1:30remaining
CSS selector for semantic elements
Which CSS selector correctly targets all semantic elements inside a element?
Attempts:
2 left
💡 Hint
Think about descendant selectors in CSS.
✗ Incorrect
The selector main section targets all main > section selector only targets direct children.
❓ accessibility
expert2:30remaining
ARIA roles and semantic HTML
If a developer uses a
to create a navigation menu instead of a
Attempts:
2 left
💡 Hint
ARIA roles describe the purpose of elements to assistive technologies.
✗ Incorrect
When semantic tags are not used, ARIA roles can provide the same meaning. The role="navigation" tells screen readers that the element is a navigation region.