HTML
HTML Quiz Exercises
Test your HTML knowledge with focused quiz exercises.
Interactive exercises that help you practice, check your understanding, and find what to revisit.
Start here
Test your knowledge: Paragraphs
A short assessment covering whitespace collapsing, paragraph content rules, and common mistakes with the HTML p element.
Explore the collection
Exercises
Browse the complete collection and choose the resource that matches what you want to practice or understand.
-
ExercisesBeginner
Test your knowledge: Paragraphs
A short assessment covering whitespace collapsing, paragraph content rules, and common mistakes with the HTML p element.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Headings
A short assessment covering heading levels, hierarchy, and semantic structure in HTML.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Foundations
A short assessment covering semantic document structure, paragraphs, lists, images, tables, and the separation of content from presentation.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Text Semantics
Check your understanding of HTML text semantics, including emphasis, quotations, code, dates, annotations, and meaningful line breaks.
~5 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Links
A short assessment covering href forms, link text, fragments, and new-tab links.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Lists
A short assessment covering unordered, ordered, and description lists, nesting, and list markup for navigation.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Images
A short assessment covering alt text judgment, width and height, captions, and responsive images.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Tables
A short assessment covering captions, scope, row groups, and the judgment calls tabular data asks for.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Forms
A short assessment covering labels, input types, radio groups, and validation attributes.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: The <form> Element
A focused assessment of the HTML <form> element, its ownership model, and its core attributes.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: The <button> Element
A focused assessment of the HTML <button> element, its types, form behavior, and accessibility.
~4 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <input> Element
A comprehensive checkpoint on the HTML <input> element, its states, attributes, form association, accessibility, and value model.
~8 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <textarea> Element
A comprehensive checkpoint on the HTML <textarea> element, multiline editing, attributes, accessibility, form behavior, and advanced value model.
~8 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <select> Element
A comprehensive checkpoint on HTML select semantics, options, grouping, selection state, accessibility, form behavior, DOM APIs, and customizable selects.
~9 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <option> Element
An advanced checkpoint on HTML option labels, values, selection state, disabledness, select and datalist relationships, DOM APIs, and customizable selects.
~10 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <datalist> Element
An advanced checkpoint on HTML datalist associations, suggestion semantics, option data, DOM APIs, accessibility, validation boundaries, and progressive enhancement.
~10 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <output> Element
An advanced checkpoint on HTML output semantics, form association, value modes, reset behavior, accessibility, submission boundaries, security, and related elements.
~10 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <progress> Element
An advanced checkpoint on progress semantics, determinate and indeterminate states, accessibility, DOM APIs, styling boundaries, and production task-progress architecture.
~10 min read Start exercise -
ExercisesBeginner
Test your knowledge: Semantic Page Structure
A short assessment covering landmark elements, main, sections and articles, and honest use of divs.
~3 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <meter> Element
An advanced checkpoint on meter semantics, ranges, thresholds, optimum values, accessibility, DOM APIs, styling boundaries, and resilient measurement architecture.
~10 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <selectedcontent> Element
An advanced checkpoint on customizable select structure, selectedcontent reflection, accessibility, browser support, dynamic content, and component architecture.
~10 min read Start exercise -
ExercisesAdvanced
Test your knowledge: The <optgroup> Element
An advanced checkpoint on HTML option grouping, labels, disabledness, customizable selects, DOM APIs, accessibility, form boundaries, security, and testing.
~10 min read Start exercise -
ExercisesBeginner
Test your knowledge: HTML Document Metadata
Check your understanding of the HTML head, title, metadata declarations, resource links, and base URLs.
~4 min read Start exercise -
ExercisesAdvanced
Test your knowledge: HTML Custom Elements
Checkpoint on custom-element naming, registration, upgrades, lifecycle callbacks, observed attributes, and native-versus-custom semantics.
~8 min read Start exercise -
ExercisesIntermediate
Test your knowledge: <details> and <summary>
Checkpoint on disclosure structure, open state, exclusive groups, toggle events, and semantic boundaries.
~8 min read Start exercise -
ExercisesIntermediate
Test your knowledge: <ruby>, <rt>, and <rp>
Checkpoint on the current HTML ruby annotation model, structure, fallback punctuation, and semantic boundaries.
~8 min read Start exercise