Learn HTML
A free interactive HTML course for beginners — with code examples and practical exercises. 12 lessons.
Start the course →What is HTML
What HTML is, why it exists, and what the simplest document looks like.
2HTML Document Structure
The required html, head, and body tags and what they're for.
3Headings and Text
The h1-h6 heading tags and the p tag for text paragraphs.
4Links
The a tag and the href attribute for creating hyperlinks.
5Images
The img tag and the src/alt attributes for embedding images.
6Lists
Unordered (ul) and ordered (ol) lists, and the li item element.
7Tables
The table, thead, tbody, tr, th, td structure for tabular data.
8Forms
form, input, label, button — the basic building blocks of a data-entry form.
9Semantic Elements
header, nav, main, article, footer instead of generic divs.
10head, title, and meta
Page metadata: title for the browser tab, meta for description and encoding.
11Linking CSS
How to link an external CSS file or set styles directly in head.
12Your First Complete Web Page
Putting everything you've learned together into one real, finished HTML page.