Module: B1.5-R5: Data Communications and Computer Networks
Chapter: Application Layer
The World Wide Web (WWW) is the largest information system in the world, consisting of web pages linked together through hyperlinks. Its communication is powered by two main protocols:
Together, WWW + HTTP/HTTPS enable web browsing, online banking, e-commerce, video streaming, cloud access, and more.
The WWW is an enormous collection of distributed web resources such as web pages, images, videos, documents, and applications accessible through URLs.
A URL identifies the location of a resource on the Web.
Example:https://www.example.com/products/index.html
Browser → Sends HTTP request → Web server → Sends content → Browser displays webpage
HTTP is a stateless, text-based, client-server protocol used for transferring web documents.
GET /index.html HTTP/1.1 Host: www.example.com User-Agent: Chrome
HTTP/1.1 200 OK Content-Type: text/html Content-Length: 4520
| Category | Description | Examples |
| 1xx | Informational | 100 Continue |
| 2xx | Success | 200 OK, 201 Created |
| 3xx | Redirection | 301 Moved Permanently |
| 4xx | Client Errors | 400 Bad Request, 404 Not Found |
| 5xx | Server Errors | 500 Internal Server Error |
HTTPS is the secure version of HTTP, using TLS (Transport Layer Security) or SSL encryption. It protects data transmitted between browser and server.
The TLS handshake securely establishes encryption keys.
All communication becomes encrypted using symmetric keys.
| Feature | HTTP | HTTPS |
| Port | 80 | 443 |
| Security | No encryption | Fully encrypted |
| Certificate | Not required | SSL/TLS required |
| Use Case | Public content | Banking, login pages, e-commerce |
Amazons checkout uses HTTPS for secure payments.
All banks use HTTPS to protect user credentials.
Facebook, Instagram encrypt messages & logins using HTTPS.
WWW provides the world’s largest collection of online content, while HTTP enables its communication and HTTPS secures it. Understanding HTTP and HTTPS is essential for web development, cybersecurity, and network engineering.