Florence's Computing · Networks · Lesson 2
1969

A note,
cut into pieces.

When you open a page, nothing travels in one piece. Your message is chopped into tiny parcels, each finds its own way across the world, and they are rebuilt at the far end — in less than a blink.
For Florence,
following a packet.
Florence's Computing · Lesson 2
Two different things

The internet is not the web.

People use the two words as if they mean the same thing, but they don't. The internet is the roads — a vast mesh of cables, fibres and radio links joining millions of computers into one worldwide network. The web is just one of the things that travels on those roads — the pages you open in a browser. Email travels on the same roads. So do video calls, games and the messages on your phone. The web is one passenger; the internet is the whole road system.

The internet came first, by twenty years. The web — pages you click between, with links — was invented in 1989 by a British scientist, Tim Berners-Lee, working at a physics lab in Switzerland. He built it on top of the internet that already existed. So when you "go online", you are using the internet; when you open a page in a browser, you are using the web that rides on it.

The difference in one line

The internet is the network of connected computers — the roads. The web is the collection of pages you read on a browser — one kind of traffic on those roads. Every website needs the internet; not everything on the internet is a website.

A detail worth knowing
30–45 seconds · MF 1
Cool fact

The very first web page is still online today, at its original address. Tim Berners-Lee wrote it in 1991 to explain what the web was — a page describing the thing you were reading it on. It had no pictures, just plain text and a handful of links, and it quietly started everything you do online now.

Florence's Computing · Lesson 2
Watch

The internet, in one short film.

Before we look at the parts, watch the whole thing once. Listen for one idea you've just met — that the internet is a network of networks, roads joining computers — and one you're about to meet: that your message travels as small pieces, not in one lump.

Code.org — “The Internet: Wires, Cables and Wifi”.YouTube
Florence's Computing · Lesson 2
Cut into parcels

Nothing travels in one piece.

Here is the surprising part. When you send a photo to a friend, the photo does not travel across the world as one object. The computer chops it into hundreds of tiny pieces called packets. Each packet carries a small slice of the photo, the address it is going to, the address it came from, and a number saying which slice it is — slice 1 of 200, slice 2 of 200, and so on.

Each packet then sets off on its own. They don't even have to take the same route — one packet might cross the Atlantic one way, the next packet another, depending on which cables are busy. They can arrive out of order. None of that matters, because each packet is numbered: the computer at the far end simply waits for them all, sorts them back into order, and rebuilds the photo. This whole method is called packet-switching, and it is the clever idea the entire internet rests on.

your file rebuilt file 1 2 3 4 split into packets sorted back in order each packet finds its own route through the network
The file is split into numbered packets. Each finds its own way across the network, and they are sorted back into order at the far end. Original schematic
Why cut it up at all?

Small parcels share the roads fairly. If one huge file hogged a cable, everyone else would wait. With packets, lots of people's data can be interleaved on the same wire — and if one packet gets lost, only that little piece has to be sent again, not the whole file.

Cool fact

Packet-switching was invented partly so a network could survive damage. If one route is cut, the packets simply flow around the gap by another path — like water finding a way downhill. There is no single wire the whole internet depends on; that was the design idea from the very start.

Florence's Computing · Lesson 2
Every machine has an address

IP addresses, and the internet's phonebook.

For a packet to find its way, every computer on the internet needs a unique address — the way every house needs a postcode. That address is called an IP address, and it is just a number, usually written as four numbers with dots between them, like 142.250.72.78. Every packet carries the IP address it is going to, and the routers along the way read that address and pass the packet onwards, hop by hop, until it arrives.

But nobody wants to remember 142.250.72.78 to visit a website. We remember names — like bbc.co.uk. So the internet keeps a giant phonebook that turns names into numbers. It is called the DNS — the Domain Name System. When you type a name, your computer first asks the DNS, "what's the number for this name?" The DNS answers with the IP address, and only then can your packets set off.

YOU TYPE A NAME bbc.co.uk DNS the phonebook IT RETURNS A NUMBER 151.101.0.81 name in → number out, so your packets know where to go
You type a name; the DNS looks it up and hands back the IP address number your packets actually travel to. Original schematic
A detail worth knowing
30–45 seconds · MF 1
Cool fact

The old style of IP address (four numbers, 0–255 each) gives about 4.3 billion different addresses — and the world ran out of them, because there are more connected devices than that. A newer system called IPv6 has so many addresses that you could give one to every grain of sand on Earth and barely make a dent.

Florence's Computing · Lesson 2
Asking and answering

Client and server — a polite conversation.

When you open a page, two computers are talking. Yours is the client — the one doing the asking. The computer that stores the website and sends it back is the server — the one doing the answering. The client makes a request ("please send me this page"); the server gives a response ("here it is"). That back-and-forth is the shape of almost everything online.

The language they speak is called HTTP — the HyperText Transfer Protocol. A protocol is just an agreed set of rules for a conversation, so that any client and any server in the world can understand each other. When you see https:// at the start of a web address, the s means secure — the conversation is scrambled so nobody in between can read it. That padlock in the address bar is HTTP, locked.

CLIENT your device SERVER holds the website request — “please send me this page” response — “here it is”
The client asks; the server answers. The rules they both follow are called HTTP. Original schematic
Protocol — a word worth keeping

A protocol is an agreed set of rules for how two computers talk, so any pair can understand each other anywhere in the world. HTTP is the protocol for web pages; there are others for email, for video, for files. Agreeing the rules in advance is what lets the whole internet work together.

Cool fact

A single big server doesn't really sit in one room somewhere. Popular websites are stored on thousands of servers in buildings called data centres spread across the world — so the copy that answers you is usually one of the closest, to keep the page quick. Some data centres are the size of several football pitches.

Florence's Computing · Lesson 2
The whole journey

What happens when you open a page.

Now put it together. Here is the entire journey, from the moment you type a name to the moment the page appears — and it all happens in well under a second.

1 You type a name, like bbc.co.uk. 2 Your computer asks the DNS for the IP address — the phonebook hands back the number. 3 Your request is cut into packets and sent, hop by hop, across the network to the server. 4 The server reads the request and sends the page back — also cut into packets. 5 Your computer sorts the packets and shows the page.
The round trip: name → number → packets out → server answers → packets back → page. All in a fraction of a second. Original schematic

Tap each card — the job each part does on the journey:

DNS The phonebook — turns a name into an IP address number.
Packet A small numbered parcel of data, carrying its destination address.
Router A junction that reads a packet's address and passes it on, hop by hop.
Server The computer that holds the page and sends it back to you.
HTTP The agreed rules the client and server use to talk.
Florence's Computing · Lesson 2
Watch

A packet, on its travels.

This short film follows packets across the network — the very idea you've just met. Watch for two things: how the message is broken into pieces, and how those pieces find their own separate routes to the same place.

Code.org — “The Internet: Packets, Routers and Reliability”.YouTube
Try it

Step the packet, hop by hop.

Press Next step to walk a single packet through the whole journey — from your computer, through the DNS lookup, across the routers to the server, and back again with the page.

you DNS router router server 1
Ready
Your packet is waiting at your computer, addressed and ready to set off.

In real life all of this happens in a fraction of a second — and a real page is hundreds of packets, not one. Stepping through one packet shows the shape of the journey they all take.

Florence's Computing · Lesson 2
One line on staying safe

The roads are open — travel them wisely.

Because the internet joins everyone to everyone, the same roads that carry a kind message can carry an unkind one, and the same server that holds a real page can be faked. A few calm habits keep you safe: look for the https padlock before you type anything private; be slow to trust a link or a message that arrives out of the blue; and never give a password to a page you reached by clicking rather than typing the address yourself. None of this should make the internet feel frightening — it is, mostly, a kind and useful place. It just rewards a little care.

A whole lesson on this

Staying safe online deserves more than a paragraph — there is a full lesson on it. When you've finished here, have a look at Staying safe online for the proper version: spotting fakes, strong passwords, and what to do if something feels wrong.

Cool fact

The padlock and the s in https don't just lock the conversation — they also prove the server really is who it claims to be, using a kind of digital ID card called a certificate. A browser quietly checks that ID every single time, before the page even loads.

Florence's Computing · Lesson 2
Question 1 · circle the correct answer

The internet, or the web?

Which sentence describes the difference correctly?
Question 2 · circle the correct answer

Why cut a file into packets?

A large file is broken into many small packets before it is sent. What is one good reason for doing this?
Question 3 · circle the correct answer

What the DNS does.

You type bbc.co.uk into a browser. What is the DNS's job in what happens next?
Question 4 · circle the correct answer

Client and server.

When your laptop opens a page, which is the client and which is the server?
Florence's Computing · Lesson 2
Question 5 · type your answer

Name the address.

Every computer on the internet has a unique number that identifies it, so packets can find it — often written as four numbers with dots, like 142.250.72.78. What are these three letters that this kind of address is called? (Two words, then "address".)
it's called an
Two letters, then the word "address". It stands for Internet Protocol.
Question 6 · circle the correct answer

Packet-switching.

Two packets from the same photo can take completely different routes across the internet and arrive out of order. Why doesn't this scramble the photo?
Question 7 · circle the correct answer

The order of the journey.

You type a name and open a page. Which row puts the steps in the right order?
Question 8 · circle the correct answer

The s in https.

A web address begins with https:// and the browser shows a padlock. What does the s tell you?
Florence's Computing · Lesson 2
Question 9 · in your own words

Explain what happens when you open a website.

Imagine telling a younger cousin who has never thought about it. Start from typing the name and follow it all the way to the page appearing. Four or five sentences is plenty. Try to use, in your own way, the words DNS, IP address, packets and server — and keep the steps in order.

0 words
reading what you wrote…

A few thoughts on your explanation, Florence

strong You held the order all the way down — name, then the DNS lookup, then packets to the server, then the page coming back. That order is the whole point of the lesson, and you kept hold of it. Naming the DNS as the "phonebook" in your own words shows you've understood what it's for, not just what it's called.

try this One sentence carries two steps at once — the DNS lookup and the packets setting off — which makes it move a little fast. Give the packets their own sentence: split into numbered parcels, each finding its own way. Slower there reads clearer.

to add You could close with the line that makes it land: all of this happens in less than a blink, hundreds of times, every time a page fills in. That last sentence turns a list of steps into a real sense of the scale.

Watch together

Films and series on the network that joins us.

Sit down with Dad for any of these. They show where the internet came from and the people who built it. Heavier titles flagged for a chat first.

Documentary · BBC · 2016 · PG
The Joy of Data — Hannah Fry
A mathematician traces how information moves around the world — packets, data and all. Bright and clear, and it pairs exactly with the idea of cutting a message into pieces.
Documentary · 1998 · PG
Nerds 2.0.1 — A Brief History of the Internet
The story of ARPANET and the people who wired the first computers together. A bit of an old film now, which is part of the charm — it was made while the web was still new.
Documentary · BBC · 2013 · PG
The Virtual Revolution
How the web changed the world in twenty years, with Tim Berners-Lee and the people who came after him. Calm, thoughtful, and good on both the wonders and the worries.
Drama · 2014 · 12A
The Imitation Game
Not about the internet itself, but about the wartime code-breakers who first set machines loose on information — the ancestors of everything online. Heavier in places — chat afterwards.
Documentary · 2016 · PG
Lo and Behold — Werner Herzog
A wandering, curious look at the internet — where it came from, what it does to us, where it might go. Named after those first two letters ever sent. One or two heavier moments — chat afterwards.
Florence's Computing · Lesson 2
Glossary

The words from today.

Internet
The worldwide network of connected computers — the "roads" that data travels on.
Web
The collection of pages you read in a browser — one kind of traffic that travels on the internet.
Packet
A small numbered parcel of data. A file is split into many packets, each carrying its destination address.
IP address
The unique number that identifies a device on the internet, so packets can be sent to the right place.
DNS
The Domain Name System — the internet's phonebook, turning a name into an IP address number.
Client & server
The client asks (your device); the server answers (the computer holding the page). They talk using HTTP.
Watch

Worth watching.

Three short films to watch alongside today's lesson — each shows you something the words and pictures can't.

An internet co-creator explains, plainly, what the internet really is.Code.org · YouTube
Watch a message split into packets that each find their own path across the network.Code.org · YouTube
See how IP addresses and DNS act as the internet's phone book.Code.org · YouTube
End of lesson two

You've followed a packet across the world.

You learned that the internet is the roads and the web is just one kind of traffic on them. You saw how a file is cut into numbered packets that each find their own way; how every machine has an IP address and the DNS turns names into those numbers; and how a client asks a server, in the language called HTTP. Next time a page fills in, you'll know the journey behind it. Florence, this is computing.

F.M. · Computing · Networks · Lesson 2
Cool fact

Most of the internet between continents doesn't travel by satellite at all — it runs through cables on the seabed, some thinner than a garden hose, laid across the ocean floor. There are hundreds of them, carrying nearly all the world's data between continents. A ship's anchor in the wrong place can slow a whole country's internet.

Images · All diagrams in this lesson — the packet-routing map, the DNS phonebook, the client-server exchange, the journey flow and the step-the-packet scene — are original SVG line-art, drawn for this lesson. Use them freely. The cover is a CSS-drawn network motif, no photograph.
Videos are embedded from Code.org's official YouTube channel.
Film recommendations are factual reference only — see each title's own copyright owner.