HTML
HTML from a first page to production: semantics, links, images, media, tables, forms, accessibility, the head, security and web components.
11 lessons: 11 free with Pro answers.
Who it is for
Absolute beginners, web learners and designers moving to code.
What you will be able to do
- Write valid, well-structured HTML documents and predict how a browser parses and repairs them
- Mark up text, links, lists and page landmarks with the elements that carry the right meaning
- Add images, audio, video, captions and embedded pages that load fast and work for everyone
- Build tables and forms that are accessible, check their input and send the data you expect
- Use details, dialog and popover for interactive parts that need little or no JavaScript
- Give every control an accessible name, and test pages with validators, axe-core and screen readers
- Write the head of a page for search results, link previews and structured data
- Load scripts and styles efficiently and use the security features HTML provides
- Build reusable parts with templates, custom elements and shadow DOM
Revise and practise
- Practice: every exercise and quiz (3 exercises, 11 quizzes)
Modules and lessons
What the labels mean
- Free lesson, Pro answers
- the whole lesson is free; the model answers to its interview questions open with a pass
- Pro
- opens with a Pro, Premium or Ultimate pass
Minutes are reading time.
What a pass opens in this track
21 interview answers. The same pass opens every other track and every Pro tool.
- Module 1
Getting started with HTML
What HTML is, an editor, a browser and DevTools, the document skeleton, elements and attributes, text and character references, and how browsers parse HTML.
- What HTML is and how a browser uses it Free lesson, Pro answers: 15 minutes
- Set up an editor, a local server and DevTools Free lesson, Pro answers: 20 minutes
- The document skeleton: doctype, head and body Free lesson, Pro answers: 20 minutes
- Module 2
Text, semantics and page structure
Headings and paragraphs, lists, inline text semantics, quotations and code, page structure with landmarks, and languages, scripts and text direction.
- Headings, paragraphs and the document outline Free lesson, Pro answers: 20 minutes
- Lists: unordered, ordered and description Free lesson, Pro answers: 15 minutes
- Emphasis, importance and inline semantics Free lesson, Pro answers: 20 minutes
- Page structure: header, nav, main and footer Free lesson, Pro answers: 25 minutes
- Languages, scripts and text direction Free lesson, Pro answers: 25 minutes
- Module 8
Interactive HTML with little JavaScript
Details and summary, the dialog element, the popover API, and focus, tabindex, inert and hidden.
- Disclosures and accordions with details Free lesson, Pro answers: 25 minutes
- Module 11
Scripts, styles, performance and security
Adding CSS and JavaScript, resource hints and loading priorities, and the security features HTML gives a page.
- Adding CSS and JavaScript to a page Free lesson, Pro answers: 25 minutes
- Module 12
Templates and web components
The template element, custom elements, and shadow DOM with declarative shadow roots.
- Reusable markup with the template element Free lesson, Pro answers: 25 minutes
Related tools
Official documentation
- HTML Standard (WHATWG)
- HTML: HyperText Markup Language (MDN Web Docs) (Mozilla)
- Web Content Accessibility Guidelines (WCAG) 2.2 (W3C)
- ARIA in HTML (W3C)
- Baseline (web-features) (W3C WebDX Community Group)