All quizzes
Free quiz · 50 questions in the bank

HTML quiz

Test your HTML knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does `<meta charset="utf-8">` do?

In this round
  1. What does `<meta charset="utf-8">` do?
  2. Which is the semantically correct list type for an ordered list of steps?
  3. Which element creates a paragraph?
  4. In an HTML `<table>`, what is the role of `<th>` vs `<td>`?
  5. What does `<hr>` represent semantically?
  6. What is the correct way to break a long paragraph into multiple paragraphs?
  7. What does the `action` attribute on a `<form>` element specify?
  8. What is the purpose of the `alt` attribute on `<img>`?
  9. What attribute on `<a>` defines the destination URL?
  10. Which `<label>` association is most accessible?
  11. What is the practical difference between `class` and `id` attributes?
  12. Which is the most appropriate input type for a phone number on mobile?
Gaps to close?
Read the curated HTML notes — core concepts, patterns, interview prep.
HTML notes

More quizzes

AccessibilityAlgorithmsAngularApache KafkaAWSBootstrap