Course 01 · Foundation

HTML
Structure you can read.

The document, the elements and the meaning behind them. Everything else on the web is layered on top of this.

22Lessons
≈ 4hReading
22Playable now
ElementsMediaFormsSemanticsAccessibility

0 of 22 lessons finished — nothing yet

The syllabus

22 lessons,
in the order they build on each other.

Start lesson one ↗
01

How the web works

What happens between typing a URL and seeing a page: DNS, HTTP, parsing and the DOM.

≈ 10 min
02

The document

Doctype, html, head and body — what a page is made of and how an element is written.

≈ 9 min
03

Elements and attributes

Global attributes, boolean attributes, data-*, id and class rules, and what may nest inside what.

≈ 11 min
04

Text and meaning

Headings, paragraphs, emphasis, quotes and code: choosing the tag that says what the content is.

≈ 10 min
05

Lists

Ordered, unordered and description lists — nesting, numbering and when each one is right.

≈ 9 min
06

Links and URLs

Absolute, root-relative and relative paths, anchors, download, rel values and target safety.

≈ 12 min
07

Images

Formats, alt text that says something, intrinsic size, lazy loading and layout shift.

≈ 11 min
08

Responsive images

srcset, sizes, picture and art direction — letting the browser choose before layout.

≈ 11 min
09

Audio and video

Sources, controls, posters, captions, preload and the rules that block autoplay.

≈ 11 min
10

Tables

Caption, header cells, scope, spans and a table that survives a phone screen.

≈ 11 min
11

Forms and inputs

Labels, names and values, method and action, grouping and what actually gets sent.

≈ 13 min
12

Input types

Every type and what it buys you, plus inputmode and the autocomplete tokens worth knowing.

≈ 12 min
13

Validation

required, pattern, the constraint validation API, custom messages and why the server still checks.

≈ 12 min
14

Semantic layout

header, nav, main, article, section, aside, footer — and when a div is still the right answer.

≈ 10 min
15

Interactive elements

details, dialog, popover, progress, meter and output — behaviour without JavaScript.

≈ 11 min
16

Embeds and graphics

iframe with sandbox and allow, inline SVG versus img, and where canvas fits.

≈ 12 min
17

Accessibility

Names, keyboard order, focus, landmarks and the rule that beats every ARIA attribute.

≈ 12 min
18

The head and metadata

Charset, viewport, title, description, canonical, icons and script loading.

≈ 10 min
19

SEO and social cards

What search engines actually read, Open Graph, sitemaps, robots and JSON-LD.

≈ 11 min
20

Languages and direction

lang, dir, right-to-left layout, hreflang and text that is not English.

≈ 9 min
21

Templates and components

The template element, slots, and a first custom element with no framework.

≈ 11 min
22

Debugging HTML

The validator, the elements panel, and the symptoms of a tree the browser had to repair.

≈ 10 min