Study Guide
The Internet and the Web
Why the internet and the World Wide Web are not the same thing, how a web address (URL) is built from a protocol, a domain name and a page or file name, what HTTP and HTTPS do, and what a web browser is for.
Lesson 4.6 Networks, the Internet and Security
For: Cambridge IGCSE Computer Science learners, or anyone who has used the internet every day and never been asked what it is
Stage: Think
“Going on the internet”
In a fictional Year 9 class, a teacher asks everyone to name three things they do “on the internet”. Zara writes: watching a video in her browser, sending a message to a friend in a chat app, and playing an online game on a games console.
Think it through
Which of Zara’s three activities need a web browser, and which do not? Do you think “the internet” and “the web” mean exactly the same thing?
- Hint 1: Does the chat app or the console open a web page?
- Hint 2: All three send data to other computers. Is sending data the same as visiting a web page?
Show a model answer
Only the video, watched in a browser, is a web page. The chat app and the console game also send data to other computers across the same worldwide connections, but neither is a web page. So there is a difference worth finding words for, and the next step does that.
Stage: Discover
Roads and shops
Think of a country’s roads and the shops along them. The roads carry everything: shoppers, buses, and delivery vans taking parcels between houses. The shops are places you can visit, and each one has an address. Closing a shop does not remove the road, and the road is used for many journeys that never reach a shop.
Think it through
In this picture, a delivery van takes a parcel from one house to another, and no shop is involved. What is the matching example on the internet?
- Hint 1: What did Zara do that did not open a web page?
- Hint 2: Which of her activities sent data from person to person?
Show what happens
Sending a chat message, a video call, or a game sending moves between players: data travels across the same connections, but no web page is involved.
The roads are the internet: the infrastructure of cables (including cables under the sea), wireless links, routers and servers that join networks together all over the world and carry data between devices, in the packets you met earlier.
The shops are the World Wide Web, usually called the web: the collection of websites and web pages that can be reached using the internet. A website is a set of linked web pages, and each page has its own address.
The internet was already working when the web was invented, around 1990. The web is one service that uses the internet. Email, online games, video calls and software updates are other services that use it.
Check your understanding
Show the answer
Answer: B. The web is the collection of websites and pages that are reached using the internet.
The internet is the infrastructure; the web is a collection of pages reached over it.
Do not confuse: Infrastructure or pages
- The roadsThe internet
- The worldwide infrastructure of cables, routers and servers that carries data between devices.Used by email, video calls, online games and the web.
- The shopsThe World Wide Web
- The collection of websites and web pages that can be reached using the internet.A school’s website, or a page about volcanoes.
Every web page is reached over the internet, but not everything that uses the internet is a web page.
| Item | Infrastructure or web? |
|---|---|
| A fibre-optic cable under the sea | |
| A school’s website | |
| The routers that pass packets on | |
| A page called volcanoes.html on that website |
- Is it a physical thing that carries data, or something you read in a browser?
Show the completed table
| Item | Infrastructure or web? |
|---|---|
| A fibre-optic cable under the sea | infrastructure |
| A school’s website | web |
| The routers that pass packets on | infrastructure |
| A page called volcanoes.html on that website | web |
Write infrastructure or web in each blank cell.
Apply it
Show the answer
Answer: C. It uses the internet to carry the data, but it is not a web page being viewed.
The internet carries the data. Nothing in the update is a web page.
Stage: Predict
An address for a page
A letter reaches the right house because its address has parts: a number, a street, a town. A web page needs an address too. Here is one, from a fictional school science website:
https://www.example.org/science/magnets.htmlThink it through
Without being told, guess what each part of this address does. Which part do you think says how to talk to the website? Which says which website it is? Which says which page you want?
- Hint 1: Start at the left: “https” comes before “://”.
- Hint 2: The part ending in .org looks like a name. The part ending in .html looks like a file.
Show a model answer
Reading from the left: “https” says how to talk to the website; “www.example.org” names which website; “science/magnets.html” says which page on it, as a folder called science and a file called magnets.html.
A web address is called a uniform resource locator, or URL: a text-based address for a web page. It can contain three parts:
- the protocol: the set of rules to use when talking to the website, here
https. It is followed by://; - the domain name: the readable name of the website, here
www.example.org. It is used instead of the website’s IP address, which is a string of numbers that is hard to remember; - the web page or file name: which page to fetch, here
science/magnets.html. The part before the last slash names a folder on the website’s computer, andmagnets.htmlis the file.
A URL does not always contain all three. If it ends after the domain name, the website sends a standard page of its own (often called the home page).
- Find the
://. Everything before it is the protocol:https. It matters because it says which rules the browser must follow when it talks to the website. - Read from after
://up to the next/. That is the domain name:learn.example.com. It matters because it says which website to contact. - Take everything after that slash. That is the page or file name, with its folder:
maths/fractions.html. It matters because one website holds many pages, and this says which one. - Check by joining the parts back together.
https+://+learn.example.com+/+maths/fractions.htmlgives the original URL, so nothing has been missed.
| URL | Protocol | Domain name | Web page or file name |
|---|---|---|---|
| https://www.example.org/science/magnets.html | https | www.example.org | science/magnets.html |
| http://shop.example.com/offers/today.html | |||
| https://music.example.net/charts/week1.html | |||
| https://www.example.com |
- The protocol is before ://.
- The domain name stops at the first / after ://.
- If nothing follows the domain name, that cell stays empty.
Show the completed table
| URL | Protocol | Domain name | Web page or file name |
|---|---|---|---|
| https://www.example.org/science/magnets.html | https | www.example.org | science/magnets.html |
| http://shop.example.com/offers/today.html | http | shop.example.com | offers/today.html |
| https://music.example.net/charts/week1.html | https | music.example.net | charts/week1.html |
| https://www.example.com | https | www.example.com |
The last row has no page or file name, so leave that cell empty.
Apply it
Show the answer
Answer: A. The friend is right, because the last part of a URL is always the domain name, whatever comes before it.
The domain name names the website. The page or file name, with any folders, says which page to fetch from it.
Stage: Explain
Rules for asking for a page
A restaurant works because everyone follows the same pattern: you ask for a dish, you wait, the waiter brings it or says it is not on the menu. Nobody has to invent the process each time.
Think it through
A browser and a web server are two computers that have never met. What would they need to agree on before they could pass a web page from one to the other?
- Hint 1: Who speaks first, and what do they ask for?
- Hint 2: What does the server do if it does not have the page?
Show a model answer
They need agreed rules: how a request is written, what the server sends back, and what it says when it cannot find the page. Without agreed rules each computer would send data the other could not understand.
A set of agreed rules for communication is a protocol. The protocol for web pages is HTTP, the hypertext transfer protocol. Its purpose is to let a web browser request a page and a web server send it back:
Request (browser to server): GET /science/magnets.html
Response (server to browser): the page's HTML, or the message "404 Not Found"
if the server has no such pageHTTP says nothing about hiding the data. The request and the response travel as ordinary packets, so anyone who intercepts them can read them.
Apply it
Show the answer
Answer: C. Read the login details, because plain HTTP sends them without encryption.
HTTP sends plaintext. That is the problem HTTPS solves.
HTTPS is hypertext transfer protocol secure: the same requests and responses as HTTP, but the data is encrypted using the secure socket layer (SSL) security protocol, whose newer version is called TLS. A captured packet is then ciphertext. The address starts with https, and the browser usually shows a padlock. HTTPS uses the ideas from the Encryption lesson: the browser and the server agree a key, and the data is scrambled with it. Lesson 10 returns to SSL.
Do not confuse: Plain or encrypted
- No encryptionHTTP
- Browser and server request and send pages as plaintext, which an eavesdropper can read.A login typed on an http address.
- EncryptedHTTPS
- The same rules, with the data encrypted using SSL/TLS, so an eavesdropper sees only ciphertext.A login typed on an https address.
A padlock, or an address starting with https, tells you that the connection is encrypted. It does not tell you that the website is honest. A fake website can also use HTTPS, so a padlock is not a reason to trust a page that asks for your password. Lesson 10 shows how to check the address itself.
Apply it
Show the answer
Answer: C. Partly right: the data is encrypted on the way, but that does not show the site’s owner is honest.
HTTPS encrypts the connection. It says nothing about the honesty of the website.
Stage: Discover
What a browser is for
Think it through
Think about the last time you used a browser. Apart from typing an address, list five things you did or could do with it, such as buttons you pressed.
- Hint 1: How did you go back to the page you came from?
- Hint 2: How did you keep a page you wanted to find again?
Show a model answer
Typical answers: going back or forward, reloading a page, opening a second page beside the first, saving a page to return to, looking at pages you visited earlier, and being logged in again without typing your password. Each of these is a named function, listed below.
A web browser is software that asks a web server for a page and then shows it to you. The page arrives as text written in HTML, the hypertext markup language, which describes what the page contains, such as headings and paragraphs, using tags:
<h1>Magnets</h1>
<p>A magnet has two poles.</p>The tag h1 marks a main heading and p marks a paragraph. A person does not read this text; the browser does. It renders the HTML: it works out what each tag means and draws the page, a large heading and a paragraph under it. The browser’s main purpose is to render HTML and display web pages.
Around that purpose, a browser has several functions:
- an address bar, where you type or read a URL;
- navigation tools: the back, forward, refresh (reload) and home buttons;
- multiple tabs, so that several pages can be open at once in one window;
- bookmarks or favourites, which store the addresses of pages you want to find again;
- history, a record of the pages you have visited, so you can return to one;
- cookies, small files that websites ask the browser to store, so that a site can recognise you when you come back. The next lesson explains them.
| What the learner does | Browser function |
|---|---|
| Presses the back button to return to the previous page | |
| Saves the address of a recipe page to read again next week | |
| Finds a page visited yesterday in the list of visited pages | |
| Keeps a maps page open while reading another page in the same window | |
| Types www.example.org to go to a website |
- Use each function’s description above.
Show the completed table
| What the learner does | Browser function |
|---|---|
| Presses the back button to return to the previous page | navigation tools |
| Saves the address of a recipe page to read again next week | bookmarks |
| Finds a page visited yesterday in the list of visited pages | history |
| Keeps a maps page open while reading another page in the same window | tabs |
| Types www.example.org to go to a website | address bar |
Choose from: address bar, bookmarks, cookies, history, navigation tools, tabs.
A browser is not the internet, and it is not a search engine. A browser is software on your device that renders pages. A search engine is itself a website, found by typing its address into a browser. Chrome, Firefox, Safari and Edge are browsers; the internet is the worldwide infrastructure underneath them.
Check your understanding
Show the answer
Answer: A. To render the HTML and display the web page.
A browser renders HTML into the page you see.
Stage: Consolidate
Show what you know
Think it through
Explain to a friend, in your own words, the difference between the internet and the web. Use an example of something that uses the internet but is not the web.
- Hint 1: Which is the roads and which is the shops?
- Hint 2: Choose an activity with no web page in it.
Apply it
Show the answer
Answer: D. The protocol is https, the domain name is www.example.org, and the browser renders the HTML for library/books.html.
Protocol, domain name and file name each have a job, and the browser renders the HTML it receives.
- The internet is the infrastructure that carries data; the World Wide Web is the collection of websites and pages reached using it. Email, calls and games use the internet without being the web.
- A URL is a text address that can contain a protocol, a domain name and a page or file name.
- HTTP is the protocol a browser and a web server use to request and send pages. HTTPS is HTTP with the data encrypted using SSL/TLS: the connection is private, but the padlock does not prove that the website is honest.
- A web browser renders HTML and displays web pages. Its functions include the address bar, navigation tools, tabs, bookmarks or favourites, history and cookies.
Sources and scope
- What this lesson is. The sixth lesson of the Networks, the Internet and Security module, written for this site. Its curriculum links are provisional: the wording of each linked specification point has been checked against the published specification, but no link has been verified by the site owner, and the links imply no endorsement by any examination board. The links were written against the Cambridge IGCSE Computer Science 0478 specification for 2026 to 2028.
- Original material. Zara and her class, the school science and trips websites, Maya, Ravi, Eli and every URL are fictional examples written for this lesson. The domain names use example.org, example.com and example.net, which are reserved for examples in documents and are never given to real websites.
- Simplified on purpose. Real HTTP requests and responses carry more than the single lines shown, and a real address can also hold a port number, a query and a fragment; none is taught here. The lesson treats SSL and TLS as one idea and does not explain how a browser decides that a website’s certificate can be trusted, which Lesson 10 takes further. A browser also does more than 0478 lists, such as running scripts and drawing pages from style rules.
The readable name of a website’s host, such as www.example.org, which a domain name server turns into an IP address.
Scrambling data with a key so that it cannot be understood by anyone who does not have the key to unscramble it.
The language in which the structure and content of a web page is written, which a browser renders into the page you see.
The set of rules a web browser and a web server use to request web pages and to send them back.
HTTP with the data encrypted by SSL/TLS, so that anyone who intercepts it cannot read it.
The worldwide infrastructure of linked networks, cables, routers and servers that carries data between devices.
An address allocated by a network to a device on it, used to deliver packets to that device.
A small piece of data sent across a network, with a header, a payload and a trailer.
A device that sends packets on towards their destination, can assign IP addresses and connects a local network to the internet.
A security protocol that encrypts the data sent between a browser and a web server; its modern version is called TLS.
The text-based address of a web page, which can contain the protocol, the domain name and the page or file name.
Software that requests web pages, then renders their HTML and displays them to the user.
A computer that stores the files of websites and sends a web page to a browser when it receives a request for it.
The collection of websites and web pages that can be reached using the internet.
Your progress on this lesson
Saved in this browser only. It is not sent anywhere, does not follow you to another device, and is lost if you clear this site’s data.
This browser is not allowing the site to save progress, so it will be forgotten when you leave the page.