HTML Tutorial Exercises
Reinforce your understanding through hands-on syntax practice, fill-in-the-blanks, output prediction challenges, and code debugging.
HTML Image Source Attribute
Fill in the missing attribute name to load the image file "logo.png":
Hyperlink Target Attribute
Fill in the blank value to open this link in a new browser tab or window:
Write a Semantic Navigation Element
Write an HTML5 unordered list `<ul>` containing two list items `<li>`: "Home" and "About".
Debug Broken HTML Table Structure
This table cell is mistakenly closing with `</tb>`. Fix the closing tag:
HTML5 Doctype Declaration
What is the correct and valid doctype declaration for modern HTML5?