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 is the practical difference between `<button type="submit">` and `<button type="button">`?

In this round
  1. What is the practical difference between `<button type="submit">` and `<button type="button">`?
  2. What is the correct way to break a long paragraph into multiple paragraphs?
  3. What is the purpose of the `alt` attribute on `<img>`?
  4. Which `<label>` association is most accessible?
  5. When you write `<a href="..." target="_blank">`, what should you also add — and why?
  6. What attribute on `<a>` defines the destination URL?
  7. Where should `<script>` tags traditionally go, and why?
  8. What does `<input type="email">` give you over `<input type="text">`?
  9. What does `<meta charset="utf-8">` do?
  10. What does the `action` attribute on a `<form>` element specify?
  11. Which tag includes an external stylesheet in `<head>`?
  12. Which is the semantically correct list type for an ordered list of steps?
Gaps to close?
Read the curated HTML notes — core concepts, patterns, interview prep.
HTML notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid