HTML tutorial
Learn HTML with Interactive Tutorials
A beginner HTML course: tags, headings, links, forms, and layout. Each chapter has a short example. Try it Yourself opens the live preview at /html/try.
45 chapters. The editor is /html/try.
Topics
Start at intro, or jump to forms, layout, or projects.
Start
Intro → basic document
Intro · Editors · Basic · ElementsText
Headings through CSS
Headings · Paragraphs · Styles · CSSMedia
Links, images, tables
Links · Images · Tables · ListsLayout
Page regions that mean something
Div · Layout · Responsive · SemanticsForms
Collect input without a backend yet
Forms · Inputs · LabelsGraphics
Draw, embed, store
Canvas · SVG · Video · StoragePractice
100+ copy-and-preview snippets
Headings · Forms · TablesProjects
Ten pages you can finish
Profile · Form · LandingBootcamp
Question, hint, solution, Check
Labs · Hints · DOM CheckWhat you get in this tutorial
- A live page. The right pane is the document, not a print log.
- Its own editor. Lessons are under /html. The preview is /html/try.
- A chapter path. Read, change the example, press Next.
- Real-life pages. Each chapter ends with worked examples — a lab report, a clinic form, a marks table — not only “Hello HTML”.
Lesson sequence
Every HTML lesson, in order.
- 01HTML Intro
- 02HTML Editors
- 03HTML Basic
- 04HTML Elements
- 05HTML Attributes
- 06HTML Headings
- 07HTML Paragraphs
- 08HTML Styles
- 09HTML Formatting
- 10HTML Quotations
- 11HTML Comments
- 12HTML Colors
- 13HTML CSS
- 14HTML Links
- 15HTML Images
- 16HTML Favicon
- 17HTML Page Title
- 18HTML Tables
- 19HTML Lists
- 20Block and Inline
- 21HTML Div
- 22HTML Classes
- 23HTML Id
- 24HTML Iframes
- 25HTML JavaScript
- 26HTML File Paths
- 27HTML Head
- 28HTML Layout
- 29HTML Responsive
- 30HTML Semantics
- 31HTML Entities
- 32HTML Charset
- 33HTML Forms
- 34Form Attributes
- 35Form Elements
- 36Input Types
- 37Input Attributes
- 38HTML Canvas
- 39HTML SVG
- 40HTML Media
- 41HTML Video
- 42HTML Audio
- 43HTML YouTube
- 44HTML Web Storage
- 45HTML Examples