CHAPTERS 01–60 · LEARN AND PRACTISE

Build your first web page, one small step at a time.

Start with the browser, files and folders. Then write a page and understand each part. Chapters 1–60 are ready to read, with working examples, browser previews, practice answers and interview preparation.

Start Chapter 1

Download example files (ZIP)

01

Websites, web pages and browsers: start with familiar things

You may have used a website to check an exam result, fill in a college form or watch a lesson. Now you will learn what you were looking at. Start with the browser, the page and its address. You do not need to know any programming words before this chapter.

Read chapter →
02

What HTML does: content, meaning and the other web languages

HTML helps you describe the information on a page. In this chapter, you will learn why it exists, what its name means and how it works alongside CSS and JavaScript. You will also see what a plain HTML page can and cannot do.

Read chapter →
03

Prepare your editor, browser and practice folder

Before creating a page, give yourself a simple place to work. You need one tool for writing, another for viewing and a folder where you can find the right file again. This chapter explains each choice without asking you to install a compiler or a large collection of tools.

Read chapter →
04

Create, save, open and update your first HTML page

Now you will build a small page from start to finish. The goal is not to decorate it. The goal is to know where the file is, understand its message and prove that your saved changes appear in the browser.

Read chapter →
05

Understand the page structure: DOCTYPE, html, head and body

You have already opened a complete page. Now we will examine its outer structure carefully, so that you can build the next one without guessing where things belong. We will separate information about a document from the content intended for its reader.

Read chapter →
06

Tags, elements and nesting: put each part in the right place

You can already write a complete page. Now look more closely at its building blocks. You will learn which parts need closing tags, which parts cannot contain content and how to keep one element correctly inside another.

Read chapter →
07

Attributes: give an element useful extra information

An element tells the browser what a part of the page is. Attributes give that element more information or settings. In this chapter, you will read name-and-value pairs, quote them correctly and learn why not every attribute works like ordinary text.

Read chapter →
08

Headings: organise a page so readers can find their way

A heading tells readers what the following content is about. In this chapter, you will choose heading levels by the organisation of the information, not by guessing which font size looks best. You will practise both a realistic page outline and the six available levels.

Read chapter →
09

Paragraphs, spaces and breaks: make text easy to read

The way you arrange lines in your editor is not always the way text appears in the browser. This chapter explains ordinary paragraphs, collapsed spaces, intentional line breaks, topic breaks and text whose spacing really should be preserved.

Read chapter →
10

Text formatting: show importance, emphasis and changes clearly

Some words need extra meaning: an important warning, stress on one part of a sentence or a change from an old time to a new time. HTML has elements for these jobs. This chapter explains the meaning first, then the usual visual result.

Read chapter →
11

Quotations, abbreviations, contact details and dates

Not every piece of text is an ordinary sentence from the page author. Sometimes you are quoting someone, naming a work, defining a term or giving an event date. This chapter helps you describe those roles without choosing elements only for their appearance.

Read chapter →
12

Comments and code text: explain source without confusing the browser

Sometimes you need to leave a note for another author. Sometimes the reader needs to see HTML itself as an example. Those are different tasks. This chapter separates comments hidden from the normal page view from code deliberately displayed as content.

Read chapter →
13

Characters, UTF-8 and entities: display the words and symbols you intend

Your page may contain several writing systems, a price, a copyright symbol or literal HTML tags. This chapter explains how saved characters and character references work together. It also separates HTML escaping from encoding a web address.

Read chapter →
14

Lists: group items, show steps and build nested lists

A shopping note groups things to bring. A recipe puts actions in order. HTML has different lists for these two jobs. Learn to choose a list by its meaning, then put smaller lists inside it when an item needs more detail.

Read chapter →
15

Description lists: connect names with their explanations

A glossary pairs a term with its meaning. A session summary pairs a label such as Room with its value. Use a description list when these name-and-description relationships matter more than bullets or a sequence.

Read chapter →
16

Links: connect pages and offer useful destinations

A link lets a reader move to another resource. Build two pages that link to each other, write link text that explains the destination, and understand what email and telephone links really do.

Read chapter →
17

URLs and file paths: find the right file from the right place

A page can link to another file in its folder, inside a smaller folder or one level above. Learn to read these paths, understand a full web address and repair a link by checking where the browser starts looking.

Read chapter →
18

Bookmarks, new tabs and downloads: control where a link leads

A long page needs shortcuts to its sections. Some links open another tab, and some offer a file to save. Learn the attributes behind these behaviours and test what the browser actually does.

Read chapter →
19

Images: choose a source, write alt text and set dimensions

A picture can explain a page, show an object or simply decorate a section. Learn how to display your own image file and describe its purpose so the page still makes sense when someone cannot see it.

Read chapter →
20

Figures, captions and image links: give pictures context

Group a picture with its visible caption, explain how captions differ from alt text, and make a picture into a useful link without losing a clear destination name.

Read chapter →
21

Responsive images: offer the right picture for the available space

A phone and a wide monitor do not always need the same image file. Learn how srcset, sizes and picture help the browser choose, while keeping a normal img as the foundation.

Read chapter →
22

Image maps: give different parts of one picture different links

An image can contain more than one destination. Build a small map with named regions, learn to read coordinates, and keep ordinary text links available so nobody has to guess where to click.

Read chapter →
23

Audio: add a player and keep the information available in words

Add a sound file with the browser's own controls. Understand sources, playback settings and fallback text, then provide a written alternative so the lesson does not depend on hearing the sound.

Read chapter →
24

Video: add controls, a poster, captions and a written alternative

Build a video example that students can start themselves. Explain the visible player and its separate files, then add timed captions without confusing them with a full written description.

Read chapter →
25

Tables: organise related data into rows and columns

A timetable is easier to compare when each room appears beside its session. Build your first data tables, explain every cell's role, and give headers and captions real meaning rather than using tables as page layout.

Read chapter →
26

Table groups: separate headings, records and totals

A longer table is easier to maintain when its header, main records and summary have clear places. Use thead, tbody and tfoot without expecting them to calculate values or create scrolling by themselves.

Read chapter →
27

Merged cells: understand colspan and rowspan without losing the grid

Sometimes one piece of information belongs across several columns or rows. Learn how spanning cells occupy table positions, why extra placeholder cells cause trouble, and when repeating a value is easier to understand.

Read chapter →
28

Table columns and styling: make the data easier to read

Learn what colgroup and col describe, then add a small amount of CSS for borders, spacing and column backgrounds. Every new styling rule is explained before you are asked to change it.

Read chapter →
29

Accessible tables: clear header relationships and usable small-screen views

Help people understand a table when they use a small screen, keyboard or screen reader. Start with simple relationships, learn explicit header references when needed, and make a wide table scroll without hiding its data.

Read chapter →
30

Guided project: build and check a college practice timetable

Turn the table lessons into a small page a classmate can use. Begin with the data, build a working draft, add preparation details and readable styling, then test the result against a clear checklist.

Read chapter →
31

Forms: collect named values and understand what Submit does

A form gives a reader places to enter information and a way to send it. Build a small practice form, explain each attribute and distinguish the visible controls from the program that would receive and save real data.

Read chapter →
32

Input types: choose a field that matches the information

Text, email addresses and passwords can look similar on a page, but their controls have different purposes. Learn the input-type families, then practise useful text fields without pretending that a field alone provides search or login.

Read chapter →
33

Choices and groups: radio buttons, checkboxes, fieldset and legend

Some questions need one answer, while others allow several. Choose the right control, give every option a clear label and understand exactly which values a form sends.

Read chapter →
34

Lists and longer answers: select, textarea and datalist

Some questions need a fixed list of choices; others need several lines of writing or a suggested answer that can be changed. Choose between these controls by the kind of answer you really need.

Read chapter →
35

Form validation: help people correct missing or unsuitable answers

A clear form explains what it needs and helps readers fix mistakes. Use native HTML constraints for common checks, test valid and invalid cases, and understand why a real receiving application must check the data again.

Read chapter →
36

Specialised form controls: time, ranges, colours and files

Choose controls by the answer you need. Learn what their values mean, and separate selecting a file from uploading it.

Read chapter →
37

Guided project: a workshop request form

Build a form in clear steps. Turn requirements into labelled controls, then test missing answers and submitted values.

Read chapter →
38

Div, span and the difference between grouping and meaning

Group several elements or a small part of a sentence. Understand default block and inline behaviour without confusing it with nesting rules.

Read chapter →
39

Semantic page structure: give each area a clear purpose

Learn header, nav, main, section, article, aside and footer. Choose by meaning and keep a page understandable without decorative layout.

Read chapter →
40

Guided project: build and review a student-club page

Combine headings, links, lists, dates and semantic regions. Test structure and keyboard navigation before adding decoration.

Read chapter →
41

Details and summary: let readers open extra information

Build expandable hints with ordinary HTML. Understand the visible summary, the open state and a group that can show one answer at a time.

Read chapter →
42

Iframes: place a separate document inside a page

Embed a small local note, give the frame a useful name for readers and understand why some pages cannot be embedded.

Read chapter →
43

Page settings: title, metadata and a browser-tab icon

Explain the information in head one part at a time. Give each page a useful title and description without confusing them with visible content.

Read chapter →
44

Connecting HTML and CSS: content and presentation

Read a small stylesheet, connect it to HTML and understand selectors, declarations and file paths without needing a framework.

Read chapter →
45

Small-screen pages: flexible content and a simple media query

Keep one useful page readable at different widths. Connect viewport settings with flexible images, sensible text and a small CSS layout change.

Read chapter →
46

HTML and JavaScript: connect a small behaviour to a page

See what script does, load a local JavaScript file and explain one button action. Keep useful HTML available when the action cannot run.

Read chapter →
47

Progress and meter: describe completion or a measured amount

Choose the right indicator, label it clearly and explain its numeric range. A visual bar does not measure work or update itself.

Read chapter →
48

SVG graphics: describe shapes and a simple diagram

Read coordinates, shapes and a viewBox. Build original graphics that scale while keeping their meaning available in words.

Read chapter →
49

Canvas drawing: use a script and keep a text equivalent

Create a small bitmap drawing and a button-driven comparison. Understand the drawing surface, coordinates and the limits of fallback content.

Read chapter →
50

Accessibility basics: make meaning and actions available to more people

Bring together headings, labels, text alternatives and keyboard use. Build useful native HTML and review real behaviour instead of relying on appearance alone.

Read chapter →
51

Accessible names, descriptions and ARIA states

Name controls clearly, connect extra instructions and keep a reported state consistent with what the reader can actually use.

Read chapter →
52

Dialogs and popovers: show extra information with a clear way back

Build a native modal dialog and an HTML-only popover. Explain opening, closing, focus and why essential information should stay easy to reach.

Read chapter →
53

Global attributes, languages and text direction

Use shared HTML settings deliberately. Separate names, language, direction, editing and visibility instead of treating every attribute like a simple on/off switch.

Read chapter →
54

Find and fix HTML mistakes: source, browser structure and real tests

Use a repeatable checking process. Separate invalid markup, broken resource paths and incorrect behaviour instead of judging a page only by its appearance.

Read chapter →
55

Search-friendly pages and sharing metadata

Connect helpful visible content with accurate document information. Understand discovery, canonical addresses and sharing previews without promising search rankings.

Read chapter →
56

Templates and browser features: where HTML needs JavaScript

Reuse a small piece of markup and remember one harmless preference. Understand which jobs belong to HTML and which need browser features and JavaScript.

Read chapter →
57

Publishing a website: files, hosting and final checks

Move from a page on your device to a site other people can open. Learn the steps and checks without needing to buy a service for this lesson.

Read chapter →
58

Final project: a two-page student website

Combine page structure, links, an image and a shared stylesheet. Build the small version first, then test it like a real visitor.

Read chapter →
59

Final project: a form with a working practice result page

Build a labelled form and read its submitted values. See the complete browser-side journey without pretending to build a booking or message service.

Read chapter →
60

Revision, interview preparation and your next steps

Review the course through things you can build and explain. Use a clear project checklist, honest interview answers and a practical plan for learning CSS and JavaScript.

Read chapter →