Your first web pages

What HTML is, how a browser reads it, the frame every page shares, and how to structure text so that both people and machines can follow it.

About 4 hours of study

Learning objectives

Lessons

  1. 1

    What HTML is and how a browser reads it

    HTML describes what each part of a page is. Learn what tags and elements are, how a browser turns your text into a page, and write your first one.

  2. 2

    The skeleton of every page

    Every proper HTML document has the same frame: a doctype, html, head and body. Learn what each part is for, and why the charset and viewport lines matter.

  3. 3

    Headings, paragraphs and text

    Structure writing with six levels of heading and paragraphs, mark words as important or emphasised, and write special characters safely with entities.

Module practice

Module quiz

1. In which order must these close? <section><p><em>text
2. What is the DOM?
3. Which line prevents letters like é from turning into garbage?
4. Which of these is a void element?
5. A designer wants small text, so the developer writes h5 straight after h1. What is the problem?
6. Which attribute helps a screen reader choose the right voice?

Links, images, lists and tables ›