Skip to main content

Quiz: Semantic HTML

Test what you learned in this lesson before moving on.

Lesson Quiz

Pass with 80% to complete this lesson.

1. Why is a native <button> element better than a styled <div> with an onclick handler?

2. What is the correct way to label a form input for accessibility?

3. Why should you never skip heading levels (e.g., jumping from h2 to h4)?