Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Web development

HTML

HTML from a first page to production: semantics, links, images, media, tables, forms, accessibility, the head, security and web components.

11 lessons to read 5 modules

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

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.

  1. 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.

    1. What HTML is and how a browser uses it Beginner Free lesson, Pro answers: 15 minutes
    2. Set up an editor, a local server and DevTools Beginner Free lesson, Pro answers: 20 minutes
    3. The document skeleton: doctype, head and body Beginner Free lesson, Pro answers: 20 minutes
  2. 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.

    1. Headings, paragraphs and the document outline Beginner Free lesson, Pro answers: 20 minutes
    2. Lists: unordered, ordered and description Beginner Free lesson, Pro answers: 15 minutes
    3. Emphasis, importance and inline semantics Beginner Free lesson, Pro answers: 20 minutes
    4. Page structure: header, nav, main and footer Beginner Free lesson, Pro answers: 25 minutes
    5. Languages, scripts and text direction Intermediate Free lesson, Pro answers: 25 minutes
  3. Module 8

    Interactive HTML with little JavaScript

    Details and summary, the dialog element, the popover API, and focus, tabindex, inert and hidden.

    1. Disclosures and accordions with details Beginner Free lesson, Pro answers: 25 minutes
  4. Module 11

    Scripts, styles, performance and security

    Adding CSS and JavaScript, resource hints and loading priorities, and the security features HTML gives a page.

    1. Adding CSS and JavaScript to a page Beginner Free lesson, Pro answers: 25 minutes
  5. Module 12

    Templates and web components

    The template element, custom elements, and shadow DOM with declarative shadow roots.

    1. Reusable markup with the template element Intermediate Free lesson, Pro answers: 25 minutes

Related tools

Official documentation

More in Web development

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.