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/5Score 0

What attribute on `<a>` defines the destination URL?

Questions in this quiz
  1. What attribute on `<a>` defines the destination URL?
  2. Which tag includes an external stylesheet in `<head>`?
  3. Which best describes when to use `<em>` instead of `<i>`?
  4. What does HTML stand for?
  5. What does the `action` attribute on a `<form>` element specify?
  6. What is the practical difference between `<button type="submit">` and `<button type="button">`?
  7. What does `<input type="email">` give you over `<input type="text">`?
  8. What is the purpose of `<!DOCTYPE html>` at the top of a page?
  9. Where should `<script>` tags traditionally go, and why?
  10. Which best describes the meaning of an `<h1>` element?
  11. Which is the most appropriate input type for a phone number on mobile?
  12. Which is true about block vs inline elements?
Gaps to close?
Read the curated HTML notes — core concepts, patterns, interview prep.
HTML notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web