HTML Exercises
Practice your HTML knowledge with focused interactive exercises covering structure, semantics, elements, and practical authoring.
Build confidence by choosing a practice mode, then work through focused exercises for this technology.
Choose your format
Practice the way you learn best
Choose a format that matches how you want to reinforce your skills.
HTML Code Challenges
1 exercisesBuild real HTML, run the page, and verify your solution against practical tests.
HTML Code Completion Exercises
4 exercisesPractice writing HTML by completing missing code directly in the example.
HTML Quiz Exercises
26 exercisesTest your HTML knowledge with focused quiz exercises.
Recently added
Latest exercises
A mixed stream of the newest exercises, with the practice mode clearly labeled.
- Quizzes HTML Exercises Test your knowledge: <ruby>, <rt>, and <rp> Checkpoint on the current HTML ruby annotation model, structure, fallback punctuation, and semantic boundaries.
- Quizzes HTML Exercises Test your knowledge: <details> and <summary> Checkpoint on disclosure structure, open state, exclusive groups, toggle events, and semantic boundaries.
- Quizzes HTML Exercises Test your knowledge: HTML Custom Elements Checkpoint on custom-element naming, registration, upgrades, lifecycle callbacks, observed attributes, and native-versus-custom semantics.
- Code completion HTML Exercises Complete the ruby annotation Complete native HTML ruby markup with base text, ruby text, and fallback punctuation.
- Code completion HTML Exercises Complete the native disclosure Complete the HTML needed to create an exclusive details group with one initially open item.
- Code completion HTML Exercises Complete the custom element Complete an autonomous custom element with registration, lifecycle behavior, and observed attributes.
- Quizzes HTML Exercises Test your knowledge: HTML Document Metadata Check your understanding of the HTML head, title, metadata declarations, resource links, and base URLs.
- Quizzes HTML Exercises 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.
Keep exploring
Explore the complete exercise library
Jump back to the main exercise hub to discover practice across every technology.