HTML Exercises
Exercises
Test your HTML skills with exercises from all categories:
Introduction
Basic
Elements
Attributes
Headings
Paragraphs
Styles
Formatting
Quotations
Comments
Colors
RGB Colors
Hex Colors
HSL Colors
CSS
Links
Link Colors
Bookmarks
Images
Image Map
Background Images
Picture
Favicon
Title
Tables
Table Borders
Table Sizes
Table Headers
Table Padding/Spacing
Table Colspan and Rowspan
Lists
Unordered Lists
Ordered Lists
Description Lists
Block and Inline
Div element
Classes
Id
Iframes
Scripts
Head
Responsive
Computercode
Semantic Elements
Entities
Forms
Form Attributes
Form Elements
Input Types
Input Attributes
Input Form Attributes
Log in to track your progress
If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete.
As a logged-in W3Schools user you will have access to many features like having your own web page, track your learning progress, receive personal guided paths, and more.
The Exercise
The exercises are a mix of "multiple choice" and "fill in the blanks" questions. There are between 3 and 9 questions in each category. The answer can be found in the corresponding tutorial chapter. If you're stuck, or answer wrong, you can try again or hit the "Show Answer" button to see the correct answer.