Challenge - 5 Problems
Tag Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📝 Syntax
intermediate1:30remaining
Identify the correct closing tag
Which option correctly closes the
<section> tag in HTML?HTML
<section> <p>Welcome to the section.</p> </section>
Attempts:
2 left
💡 Hint
Remember, the closing tag must match the opening tag exactly.
✗ Incorrect
In HTML, every opening tag like must be closed with the exact same tag name preceded by a slash, so is correct.
❓ rendering
intermediate2:00remaining
What is the visual output of missing closing tag?
What will the browser display if the
<h1> tag is not closed properly?HTML
<h1>Welcome to my site <p>This is a paragraph.</p>
Attempts:
2 left
💡 Hint
Browsers automatically close heading tags like <h1> before block elements like <p> due to HTML parsing rules.
✗ Incorrect
Browsers have error recovery mechanisms; they implicitly close the <h1> before the <p>, so the heading and paragraph render normally.
🧠 Conceptual
advanced1:30remaining
Why are closing tags important in HTML?
Which option best explains why closing tags are necessary in HTML?
Attempts:
2 left
💡 Hint
Think about how the browser understands where content belongs.
✗ Incorrect
Closing tags mark the end of an element, so the browser knows which content belongs inside it and how to display it properly.
❓ selector
advanced1:30remaining
Which tag pair is correctly opened and closed?
Select the option where both opening and closing tags are correct and match each other.
Attempts:
2 left
💡 Hint
Check if the closing tag exactly matches the opening tag name.
✗ Incorrect
Only is closed correctly with . Others have mismatched closing tags.
❓ accessibility
expert2:00remaining
How do proper closing tags affect screen readers?
Why is it important for accessibility tools like screen readers to have correct opening and closing tags in HTML?
Attempts:
2 left
💡 Hint
Think about how screen readers navigate content.
✗ Incorrect
Screen readers rely on correct HTML structure to present content logically and clearly to users with disabilities.