Unit 3.3
Understanding the World Wide Web
Learning Objectives π―
By the end of this chapter, you will be able to:
- β
Differentiate between the Internet and the World Wide Web.
- β
Describe the function of a web server and a web browser.
- β
Define a URL and identify its components.
- β
Identify HTTP as the protocol of the web.
The Internet vs. The World Wide Web
The Internet π
- The global network of computers.
- The infrastructure (hardware, cables, routers).
- Analogy: The physical road system.
The World Wide Web πΈοΈ
- A service that runs on the internet.
- The information (web pages, documents).
- Analogy: The cars, shops, and houses on the roads.
Key Takeaway: The Web is a service on the Internet. They are not the same thing!
Quick Check: Internet or Web? π―
Click each item to assign it to the correct category. Click again to change assignment.
Click items above to classify them β cycling: Unassigned β Internet β Web β Unassigned
How the Web Works: A Simple Model
1. Client (You)
Using a Web Browser (e.g., Chrome), you type a URL and press Enter.
2. The Request β‘οΈ
Your browser sends an HTTP Request over the Internet, asking for the web page.
3. The Server ποΈ
The Web Server receives the request, finds the page, and sends an HTTP Response back.
This request-response cycle happens every time you click a link or load a new page!
Put It In Order: The Web Request Cycle π’
Click the steps in the correct sequence (1 β 5) to rebuild the request-response cycle.
1
β
2
β
3
β
4
β
5
Click steps in the correct order from first (1) to last (5)
Key Component: The Web Browser π»
Definition: The client software that users run on their computers to request and view web pages.
- β‘ Acts as your "window" to the Web.
- β‘ Sends requests to web servers.
- β‘ Renders HTML, CSS, and JavaScript to display a webpage.
- β‘ Examples: Google Chrome, Mozilla Firefox, Microsoft Edge.
Key Component: The Web Server ποΈ
Definition: A computer that stores web pages and serves them to users upon request.
- β‘ Always on and connected to the Internet.
- β‘ "Listens" for incoming HTTP requests from browsers.
- β‘ Responds by sending the requested files (HTML, images, etc.).
- β‘ Examples: Apache, Nginx, Microsoft IIS.
Browser or Server? Sort the Roles π₯οΈ
Click each role to assign it. Cycling: Unassigned β Browser β Server β Unassigned
Click items to assign them to Browser or Server
π Anatomy of a URL
https://www.example.com.np/products/gadgets
https:// — The Protocol. The rules for communication.
www.example.com.np — The Domain Name. The address of the web server.
/products/gadgets — The Path. The specific resource on the server.
A URL (Uniform Resource Locator) is the unique address for every single resource on the Web.
Label the URL Parts π
Click a highlighted segment, then click its label to identify it. Match all 3 parts.
https://www.example.com.np/products/gadgets
Protocol
Domain Name
Path
Click a yellow URL segment first, then click its matching label
The Language of the Web: HTTP π£οΈ
HTTP (Hypertext Transfer Protocol): The set of rules that web browsers and web servers use to communicate with each other.
- It's a request-response protocol.
- Browser Request: "GET me the homepage!"
- Server Response: "OK, here is the HTML for the homepage."
- Think of it as the grammar and vocabulary for a conversation between browser and server.
HTTP: Match the Concept π
Click a term on the left, then click its matching description on the right.
Click a term on the left, then its matching description on the right
Practical Application: The Web in Nepal π³π΅
The Web is a vital tool for communication, business, and information in Nepal.
Popular Platforms
- Google (Search)
- Facebook (Social)
- YouTube (Video)
Local Giants
- Onlinekhabar: Top news portal.
- Hamro Patro: Calendar, news, and services.
E-Commerce Impact
- Businesses use websites and social media to reach customers.
- Built on these principles: Daraz, Sastodeal, etc.
Key Takeaways π
- The Web is a service that runs on the Internet; they are distinct.
- It works on a client-server model: Browsers (clients) request data from Servers.
- HTTP is the communication protocol, the "language" of the Web.
- Every resource has a unique address called a URL.
Discussion Questions
- In your own words, explain the difference between the Internet and the World Wide Web.
- What happens, step-by-step, when you type a URL like `https://onlinekhabar.com` into your web browser?
- What is the relationship between HTTP and the TCP/IP protocols we discussed earlier?
Thank You!
Next Up: Unit 3.4 - Key Features of Internet and Web Technology