HTML
HTML Code Completion Exercises
Practice writing HTML by completing missing code directly in the example.
Interactive exercises that help you practice, check your understanding, and find what to revisit.
Start here
Complete the paragraph
Type the missing HTML directly into each code example. Complete all four challenges, then check your answers.
Explore the collection
Exercises
Browse the complete collection and choose the resource that matches what you want to practice or understand.
-
ExercisesBeginner
Complete the paragraph
Type the missing HTML directly into each code example. Complete all four challenges, then check your answers.
~4 min read Start exercise -
ExercisesAdvanced
Complete the custom element
Complete an autonomous custom element with registration, lifecycle behavior, and observed attributes.
~6 min read Start exercise -
ExercisesIntermediate
Complete the native disclosure
Complete the HTML needed to create an exclusive details group with one initially open item.
~5 min read Start exercise -
ExercisesIntermediate
Complete the ruby annotation
Complete native HTML ruby markup with base text, ruby text, and fallback punctuation.
~5 min read Start exercise