Library Computer Science 0478 The Internet & the World Wide Web
O Level · Computer Science 0478

The Internet & the World Wide Web

Revise The Internet & the World Wide Web for Computer Science 0478 (O Level) — revision notes and instant AI marking. Free to start.

📖 Revision notes · preview
  Cambridge IGCSE (0478) Computer Science

The Internet & the World Wide Web

Big idea: The Internet is the global wiring that connects computers together, and the World Wide Web is just that runs on top of that wiring — a collection of linked pages you view with a browser.

Quick Summary

  • The Internet is a global network of networks (a WAN) — the infrastructure. The World Wide Web is a service that runs on it — websites and pages.
  • HTTP sends data between browser and server in plain text; HTTPS does the same thing but encrypts it, which is why it's used for passwords and payments.
  • A web browser is software that requests, receives, and renders (displays) web pages — plus it gives you tabs, bookmarks, history, and an address bar.
  • A web server is a remote computer that stores a website's files and hands them out on request, 24/7, to many users at once.
  • A URL is the text address of a page, made of three parts: protocol → domain name → file path.
  • The DNS is the internet's phone book — it turns a human-friendly domain name into the numeric IP address computers actually need.
  • HTML is the language that structures and presents a web page's content, built from opening/closing "tags".
  • Cookies are tiny files that remember things about you. Session cookies live in RAM and vanish when you close the browser; persistent cookies live on the hard drive and survive between visits.

1. The Internet vs the World Wide Web

This is the single most commonly mixed-up idea in this whole topic, and examiners know it — so let's nail it properly, not just memorise a sentence.

Analogy: Roads vs Shops Think of the Internet as the entire road network of a country — motorways, streets, roundabouts, all connected together so vehicles (data) can travel anywhere. The World Wide Web is like the shops that sit along those roads — you drive on the roads (Internet) to reach the shops (websites). But the roads also carry other traffic that has nothing to do with shops — delivery vans (email), removal trucks (file transfer/FTP), phone calls travelling as data (VoIP). The web is just one type of destination the roads lead to, not the roads themselves.

What is the Internet?

  • The Internet is a global network of networks — millions of smaller networks (home networks, school networks, company networks) all linked together.
  • It is the most well-known example of a Wide Area Network (WAN) — a network that spans a huge geographical area, in this case the entire planet.
  • Its job is to be the infrastructure — the cables, satellites, routers, and connections — that makes it possible for data to travel from one device to another anywhere in the world.

What is the World Wide Web?

  • The Web (or "the web") is a collection of websites and web pages that you access using the Internet.
  • It was invented in 1989 by Tim Berners-Lee, who wanted a way for people to share and access information globally.
  • It's made of interconnected documents and multimedia files (text, images, video) stored on web servers all around the world, and linked together by hyperlinks.
  • You access web pages through a web browser, which talks to web servers to fetch and display that content.
The one-line distinction examiners want

The Internet is the infrastructure (the "roads"); the World Wide Web is a service that runs on that infrastructure (one of the "destinations"). Email, FTP, and VoIP also run on the Internet but are not part of the web.

Watch out Do not write "the Internet and the web are the same thing." That will lose you marks. If you ever find yourself wanting to use "Internet" and "web" interchangeably in an answer, stop and ask: am I talking about the wiring (Internet) or the websites (Web)?
Practice Question 1

A student says: "The Internet is just another name for the World Wide Web." Explain why this statement is incorrect.

Practice Question 2

Give two examples of internet services other than the World Wide Web.

2. Network Protocols — HTTP & HTTPS

A protocol is simply a set of rules that devices agree to follow so they can communicate properly — a bit like two people agreeing to speak the same language and take turns talking. HTTP and HTTPS are the protocols that let your browser and a web server understand each other.

HTTP — Hypertext Transfer Protocol

  • HTTP allows communication between clients (your browser) and servers (where the website lives) so you can view websites.
  • It works both ways — the client can receive data from the server (e.g. fetching a webpage) and send data to the server (e.g. submitting a form, uploading a file).
  • The problem: standard HTTP sends this data as plain text. If someone intercepted the traffic, they could read it directly — including passwords typed into a login form.

HTTPS — the secure version

  • HTTPS works exactly like HTTP but adds an extra layer of security.
  • All data sent and received using HTTPS is encrypted — scrambled into unreadable form so that even if it's intercepted, it can't be understood without the correct key.
  • HTTPS is used specifically to protect sensitive information: passwords, financial/banking details, and personal data.
http://www.site.com
no padlock, unencrypted
🔒 https://www.site.com
padlock shown, encrypted
Exam-ready model answer

"HTTPS encrypts the data being transmitted to keep it secure, unlike HTTP." — this single sentence is the exact phrasing that scores full marks on the classic 2-mark "describe one difference between HTTP and HTTPS" question.

Why this matters in real life Next time you're about to type a card number into a website, glance at the address bar. If it says http:// instead of https://, that data would be travelling unencrypted — which is exactly why browsers now warn you when a site isn't secure.
Practice Question

Describe one difference between HTTP and HTTPS. [2]

3. Web Browser

A web browser (Chrome, Safari, Firefox, Edge...) is a piece of software used to access and display information on the internet. Its core job is to take the raw HTML code a server sends back and render it — turn it from code into the visual page you actually see, with formatted text, images, and layout.

Key definition

A web browser displays web pages by rendering HTML — it interprets the code in HTML documents and translates it into a visual display for the user.

Functions of a web browser

FunctionDescription
Navigation toolsBack/forward buttons and a home button, to help users move between pages
Bookmarks & favouritesAllow users to save links to frequently visited websites and access them easily
Storing cookiesSaves small data files that remember information about your browsing (see Section 5)
Record user historyAllows users to quickly revisit recently viewed web pages
Address barA place for the user to type in the URL of a web page to visit
Multiple tabsAllow multiple web pages to be open at once so users can quickly switch between them
Exam framing tip "Rendering HTML" is technically how a browser displays pages — but when a CIE question asks for the functions of a browser, it usually wants the user-facing features from the table above (navigation, bookmarks, tabs, cookies, history, address bar), not just "it renders HTML."
Practice Question

State three functions of a web browser, other than displaying web pages.

4. Web Pages — How One Actually Loads

This is the section that ties everything together, and it's exactly the kind of process CIE loves to ask about in a 6–7 mark "explain how a web page is requested, sent, and displayed" question. Let's build it up piece by piece, then put it all together as one flow.

1. User types URL
2. DNS lookup
3. Connect to web server
4. HTML sent back
5. Browser renders it

Web Servers

  • A web server is a remote computer that stores the files needed to display a web page on the Internet — think of it as the "warehouse" where the website's actual content lives.
  • Web servers are generally available 24/7, and their security is managed by the owner of the hardware.
  • They can serve multiple users at the same time — thousands of people can request the same page simultaneously.

URLs — Uniform Resource Locators

A URL is a unique identifier for a web page — its "website address." It's text-based specifically so humans can read and remember it (compare that to remembering a string of numbers!). A URL splits into three parts:

https://www.savemyexams.com/igcse/computer-science/cie/23/revision-notes/
PartExampleWhat it means
ProtocolhttpsThe communication method used to transfer data between client and server
Domain namewww.savemyexams.comThe name of the server where the resource is located
Web page / file name/igcse/computer-science/cie/23/revision-notes/The location of the specific file or resource on that server

DNS — Domain Name System

Analogy: The phone book You know your friend's name, but your phone doesn't dial "Sarah" — it needs her actual phone number. Old-school phone books let you look up a name and find the number to call. The DNS does exactly this for the internet: you type a domain name like savemyexams.com, and the DNS looks it up and returns the numeric IP address that computers actually use to find and connect to that server.
  • The DNS is essentially a directory of domain names, translating human-readable domain names into numeric IP addresses.
  • When you type a URL, the DNS translates the domain name into its associated IP address so your computer can connect to the server hosting the website.
  • Without DNS, you'd have to memorise the IP address of every single site you wanted to visit — completely impractical.

HTML — Hypertext Markup Language

  • HTML is the foundational language used to structure and present content on the web.
  • It's made of elements called tags. Most tags are opened and closed, e.g. <html> ... </html>, while some are self-contained (only opened), e.g. <img> and <link>.

HTML for structure — it organises content into sections such as headers, paragraphs, and footers. The <html> tag is the root element that wraps everything else:

<!DOCTYPE html> <html>   <head>     <title>My Web Page</title>   </head>   <body>     <header>       <h1>Welcome to My Website</h1>     </header>     <main>       <section>         <h2>About Me</h2>         <p>This is a paragraph about me.</p>       </section>     </main>     <footer>       <p>Contact: [email protected]</p>     </footer>   </body> </html>

Other ways HTML provides structure: creating lists, positioning text on the screen, and embedding media/interactive elements.

HTML for presentation — it also displays content in a visually meaningful way, using elements like headings (<h1>, <h2>), paragraphs (<p>), links (<a>), and images (<img>). This presentation layer is mainly refined using CSS (Cascading Style Sheets). Other presentation examples: displaying data in a table, or showing images with captions.

Worked Example (full mark-scheme walkthrough) Question: A company sells products over the Internet. Explain how the information stored on the company's website is requested by the customer, sent to the customer's computer, and displayed on the screen. [7]

Requested: A web browser is used → user enters the URL/web address into the address bar (or clicks a link) → the URL specifies the protocol → protocols used are HTTP or HTTPS.

Sent: The URL contains the domain name → the domain name is used to look up the IP address of the company → the DNS stores an index of domain names and IP addresses → the web browser sends a request to the web server/IP address.

Received: Data for the website is stored on the company's web server → the web server sends the data back to the web browser, using the customer's IP address to return it → the data is transferred as HTML → HTML is interpreted/rendered by the browser to display the website.
Practice Question 1

Split the following URL into its three parts and explain what each part does: https://www.bbc.co.uk/news

Practice Question 2

Explain the purpose of a DNS server, and describe what would happen if DNS did not exist.

5. Cookies

A cookie is a tiny data file stored on a computer by browser software that holds information relating to your browsing activity. Cookies typically contain:

  • Browsing history — which websites you have visited
  • Login information — usernames & passwords
  • Preferences — language, font size, theme settings

There are two types, and the exam always wants you to compare them on the same two criteria: where they're stored, and when they're deleted.

Session cookiePersistent cookie
Where storedRAMHard drive
When deletedWhen the browser is closedWhen expired, or manually deleted
PurposeTrack current session activity (e.g. items in a shopping basket)Remember preferences and login details across multiple visits
Analogy: A shopping trip vs a loyalty card A session cookie is like the shopping basket you carry around a store — the moment you leave (close the browser), the basket and everything in it disappears. A persistent cookie is like a loyalty card the shop gives you to keep in your wallet — it stays with you and is recognised every time you come back, until it expires or you throw it away.
Common mistake to avoid Examiners are testing what cookies do, not whether you personally think they're good or bad. Don't write vague answers like "cookies spy on you" or "cookies track users" as your whole answer — focus on the specific, correct purpose: storing login info, remembering preferences, and holding session data. When comparing the two types, always mention where stored and when deleted — these are the exact details that earn the marks.
Practice Question 1

Describe the difference between a session cookie and a persistent cookie.

Practice Question 2

A website remembers a user's preferred display language every time they return over several weeks. Which type of cookie is being used, and why?

What to Memorise

Internet vs Web

Internet = global infrastructure (WAN). Web = a service (websites) that runs on that infrastructure. Web ≠ email/FTP/VoIP, but all run on the Internet.

HTTP vs HTTPS

HTTPS = HTTP + encryption. Used for passwords, financial data, personal data. Model line: "HTTPS encrypts the data being transmitted, unlike HTTP."

Browser functions

Navigation tools, bookmarks/favourites, storing cookies, history, address bar, multiple tabs. Browser renders HTML into a visual display.

URL structure

Protocol → Domain name → Web page/file name. e.g. https:// + www.site.com + /page

DNS

"Phone book of the internet" — translates human-readable domain names into numeric IP addresses so devices can connect.

Cookies

Session: RAM, deleted on browser close, tracks current session. Persistent: hard drive, deleted on expiry/manual delete, remembers logins/preferences.

Concepts Checklist

Tick off each idea only once you can explain it out loud, without looking at your notes.

Exam Tips & Common Mistakes

Mistake: Saying "the Internet is the web" or using the two terms interchangeably.
Instead: Always describe the Internet as infrastructure/a WAN and the Web as a service that uses it.
Mistake: Saying HTTPS is "faster" or "a completely different system" from HTTP.
Instead: HTTPS works the same way as HTTP, it just adds encryption — that's the only meaningful difference examiners want.
Mistake: Only mentioning "rendering HTML" when asked for browser functions.
Instead: Give the user-facing features too — navigation tools, bookmarks, tabs, cookies, history, address bar.
Mistake: Describing DNS as translating a URL directly into a webpage.
Instead: DNS only translates the domain name into an IP address — it doesn't fetch the page itself, it just finds the address to connect to.
Mistake: Comparing session vs persistent cookies only by "purpose" and forgetting storage location/deletion timing.
Instead: Mark schemes specifically reward "stored in RAM vs stored on hard drive" and "deleted on browser close vs deleted on expiry/manual delete."
Mistake: On long "explain the process" questions (like the worked 7-mark example), writing everything as one jumbled paragraph.
Instead: Structure your answer in the same three stages the mark scheme uses: Requested → Sent → Received. This makes it far easier for an examiner to award each point.
🔓 Read the full The Internet & the World Wide Web note — free You're seeing the preview · free account, no card needed
Also in the full note
  • 2. Network Protocols — HTTP & HTTPS
  • Exam Tips & Common Mistakes
What's inside
📖 Revision notes 🎯 Learn mode ✦ AI flashcards ✓ Instant AI marking 🧊 3D explorers 🧪 Experiments & simulations 📈 Progress tracking
📄 Practise The Internet & the World Wide Web with Computer Science 0478 past papers Every paper with its mark scheme — answer online, marked instantly. Open →

Read the full The Internet & the World Wide Web notes free

That's the preview — create a free account to read the rest, plus flashcards and practice questions with instant AI marking. No credit card.

Unlock the full notes free →

More Computer Science topics