Unit 2: The Internet · Web protocols

Article

The World Wide Web

5 min read

"The Internet is down!" people say when a page will not load. But the Internet and the World Wide Web are not the same thing. Many people use the two words as if they mean the same. On the exam, you need to know the difference.

The Internet carries, the web uses

The Internet is a network of networks. It is the cables, wireless links and routers that carry bits from one device to another. It follows rules called protocols, such as IP and TCP.

The World Wide Web (the "web") is something different. It is a system of pages, files and programs that are linked together. You move from one page to another by clicking a link. A web browser is the program that asks for pages and shows them. A web server is a computer that stores pages and sends them out.

Think of roads and shops. The roads carry trucks, buses and cars. The shops are one of the things that use the roads, but the roads existed first, and they carry many other things too. The Internet is the roads. The web is a very popular service that travels on them.

The web sits on top of the Internet

  1. Services

    the web (web pages and links)emailvideo callsonline games

    Things people use

  2. The Internet

    IP addressespacketsrouterscables and Wi-Fi

    Carries the bits for all of them

Many services share one Internet. The web is only one of them, and it needs the Internet to work.

The Internet carries many things that are not web pages:

ActivityUses the Internet?Is it the web?
Reading a news site in a browserYesYes
Sending an email with a mail appYesNo, it uses its own rules
A video call between two phonesYesUsually no
A game app sending moves to its serverYesNot normally

Check your understanding

Which of the following describes the World Wide Web?

Pages, links and URLs

How does your browser know which page to ask for? Every page and file on the web has a URL (Uniform Resource Locator), which is its address on the web. A URL has three main parts:

https://www.example.com/lessons/fractions.html
  |            |                  |
  |            |                  +-- path: which page or file
  |            +----------------------- host name: which web server
  +------------------------------------ protocol: how to ask

The host name says which server. The path says which page on that server. The protocol says which rules to follow when asking.

A hyperlink (link) is a part of a page that holds the URL of another page. When you click it, the browser reads the URL and asks for the new page. The web is simply a huge number of pages linked to each other in this way. That is why it is called a "web".

Check your understanding

What is the main job of a URL?

Worked example

Mia has a school laptop. In one hour she does four things:

  1. She opens www.example.com/homework.html in her browser.
  2. She clicks a link on that page to a video on another site.
  3. Her mail app downloads a message from her teacher.
  4. She joins a voice call with a friend using a calling app.

Which of these use the web? Steps 1 and 2 do: she asks for pages with URLs and follows a link. Steps 3 and 4 use the Internet, because bits travel across networks, but they are not web pages and not links. Her laptop is using the Internet the whole hour. It is using the web for only part of it.

Also notice this: if the Internet stopped working, steps 1 to 4 would all stop. The web depends on the Internet. But a different service could still work on the Internet even if no web server existed.

Common mistakes

  • "The Internet and the web are the same." The web is one service that runs on the Internet.
  • "The web is the cables and routers." Those belong to the Internet. The web is the linked pages and files.
  • "A browser is the Internet." A browser is only a program that asks for web pages.
  • "A URL is an IP address." A URL names a page. An IP address names a device. They are different things.

On the exam

You may be asked which of two statements correctly compares the Internet and the web. Remember: the Internet is the network that carries data, and the web is a system of linked pages that uses it. Be careful with answers that swap the two.

Key words

Internet: a network of networks that carries data between devices using protocols.

World Wide Web: a system of linked pages, files and programs that are sent over the Internet.

Web browser: a program that asks for web pages and displays them.

Web server: a computer that stores web pages and sends them when asked.

URL: the address of a page or file on the web.

Hyperlink: a part of a page that holds the URL of another page.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this site. All lessons and questions here are written by JrCodex.