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?

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?

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

Which sentence about the internet and the web is correct?
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.

Part of the infrastructure, or part of the web?
ItemInfrastructure 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

    Show the completed table
    ItemInfrastructure or web?
    A fibre-optic cable under the seainfrastructure
    A school’s websiteweb
    The routers that pass packets oninfrastructure
    A page called volcanoes.html on that websiteweb

    Write infrastructure or web in each blank cell.

    Apply it

    A pupil’s phone downloads a game update in the background, with no browser open. Which description is correct?
    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.html

    Think 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?

    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, and magnets.html is 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).

    1. 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.
    2. Read from after :// up to the next /. That is the domain name: learn.example.com. It matters because it says which website to contact.
    3. 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.
    4. Check by joining the parts back together. https + :// + learn.example.com + / + maths/fractions.html gives the original URL, so nothing has been missed.
    Split each URL into its parts
    URLProtocolDomain nameWeb page or file name
    https://www.example.org/science/magnets.htmlhttpswww.example.orgscience/magnets.html
    http://shop.example.com/offers/today.html
    https://music.example.net/charts/week1.html
    https://www.example.com

      Show the completed table
      URLProtocolDomain nameWeb page or file name
      https://www.example.org/science/magnets.htmlhttpswww.example.orgscience/magnets.html
      http://shop.example.com/offers/today.htmlhttpshop.example.comoffers/today.html
      https://music.example.net/charts/week1.htmlhttpsmusic.example.netcharts/week1.html
      https://www.example.comhttpswww.example.com

      The last row has no page or file name, so leave that cell empty.

      Apply it

      Maya types http://www.example.org/sports/results.html. Her friend says: “The domain name is results.html.” What is wrong with that?
      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?

      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 page

      HTTP 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

      Ravi logs in to a fictional school-trips website whose address starts with http, using a café’s shared Wi-Fi. A stranger at the next table captures the packets. What can the stranger do with them?
      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

      Eli says: “This page has a padlock, so it must be a safe website and I can give it my details.” Which reply is accurate?
      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.

      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.
      Which browser function is it?
      What the learner doesBrowser 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

        Show the completed table
        What the learner doesBrowser function
        Presses the back button to return to the previous pagenavigation tools
        Saves the address of a recipe page to read again next weekbookmarks
        Finds a page visited yesterday in the list of visited pageshistory
        Keeps a maps page open while reading another page in the same windowtabs
        Types www.example.org to go to a websiteaddress 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

        A browser receives a block of HTML from a web server. What is its main purpose in this situation?
        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.

        Show a model answer

        A good answer: “The internet is the worldwide infrastructure of cables, routers and servers that carries data. The web is the collection of websites and web pages that you reach using the internet. A video call or an online game uses the internet but is not a web page.”

        Apply it

        A pupil opens https://www.example.org/library/books.html in a browser. Which statement describes it correctly?
        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.