Web vs Internet

The internet is the global infrastructure of interconnected networks, cables, routers and protocols like TCP/IP that lets devices exchange data. The web (World Wide Web) is one application running on top of it: linked pages accessed over HTTP or HTTPS in a browser, while email and video calls use the internet without being part of the web.

3 min read

The internet and the web are often used interchangeably in casual conversation, but they're genuinely different things: the internet is the underlying global network infrastructure, and the web (the World Wide Web) is one particular application built on top of that infrastructure.

The distinction

The internet is a massive network of interconnected networks, physical cables, routers, satellites, and protocols like TCP/IP that let any connected device exchange data with any other. It existed and carried real traffic (email, file transfers) before the web was invented.

The web is a system of linked documents (web pages) accessed using HTTP/HTTPS and identified by URLs, viewed through a browser. It's one specific way of using the internet, not the internet itself. Email, video calls, online gaming, and file transfer protocols also run over the internet but are not part of the web.

A worked example

Sending an email and loading a webpage both travel over the same underlying internet infrastructure, the same cables, the same routers, the same core TCP/IP protocols. But email typically uses protocols like SMTP and IMAP, while a webpage uses HTTP or HTTPS. Both are applications riding on top of the same internet; neither one is "the internet" itself, and the web specifically refers only to the HTTP-based, browser-accessed, linked-document part of that traffic.

Where this matters in real systems

This distinction matters in real conversations about internet access and infrastructure: a country restricting "the internet" is blocking the underlying network access entirely, while a country blocking specific "websites" is filtering web traffic specifically, often while still allowing other internet-based services like email or messaging apps to function. Conflating the two leads to real confusion, for example, "the internet is down" versus "this specific website is down" describe genuinely different problems requiring different troubleshooting.

What interviewers actually ask about web vs internet

  • "What's the actual difference between the web and the internet?" The internet is the global network infrastructure; the web is one application (linked HTTP-accessed documents) that runs on top of that infrastructure.
  • "Give an example of something that uses the internet but isn't part of the web." Email (using SMTP/IMAP), video calls, or online gaming all travel over the internet without being part of the World Wide Web.
  • "Did the internet or the web come first?" The internet existed first, carrying traffic like email over earlier decades, before Tim Berners-Lee invented the web (HTTP, HTML, and URLs) as one application running on top of that existing internet infrastructure.
  • "If a browser can't load any website, is the internet down or the web down?" It could be either, or something else entirely (DNS failure, a specific site's server being down); the phrase "the internet is down" is often imprecise, and diagnosing the real cause requires knowing this distinction.

Key takeaways

  • The internet is the underlying global network infrastructure connecting devices worldwide.
  • The web is one application built on top of the internet: linked documents accessed via HTTP/HTTPS through a browser.
  • Other applications, like email and video calls, also run over the internet without being part of the web.
  • The internet existed before the web was invented as one particular way of using it.
All 101 Computer Networks interview questions

Log in to save which topics you've read across every subject.

Frequently asked questions

What's the actual difference between the web and the internet?

The internet is the global network infrastructure; the web is one application (linked HTTP-accessed documents) that runs on top of that infrastructure.

Give an example of something that uses the internet but isn't part of the web.

Email (using SMTP/IMAP), video calls, or online gaming all travel over the internet without being part of the World Wide Web.

Did the internet or the web come first?

The internet existed first, carrying traffic like email over earlier decades, before Tim Berners-Lee invented the web (HTTP, HTML, and URLs) as one application running on top of that existing internet infrastructure.

If a browser can't load any website, is the internet down or the web down?

It could be either, or something else entirely (DNS failure, a specific site's server being down); the phrase "the internet is down" is often imprecise, and diagnosing the real cause requires knowing this distinction.