WebDesign Unit1
WebDesign Unit1
Example:
Accessing the World Wide Web When you send a message on WhatsApp, the Internet routes data packets between
devices.
Definition:
Possible Questions:
The World Wide Web (WWW) is a collection of interlinked documents and resources,
• Short Answer: What is the Internet?
accessed via the Internet using web browsers.
• Long Answer: Explain the evolution and uses of the Internet.
Explanation:
• The WWW uses the Hypertext Transfer Protocol (HTTP) for communication.
• Websites consist of web pages that contain text, images, videos, and links. Protocols and Other Jargons
• To access the WWW, one requires:
1. A device (computer, tablet, phone).
2. Internet connection.
3. A web browser (Google Chrome, Firefox, Safari, Edge). 1. Introduction
• Users type a Uniform Resource Locator (URL) into the browser to retrieve web
pages.
Example: When computers communicate over the Internet, they must follow rules and standards to
ensure data is transmitted correctly. These rules are called protocols.
Typing https://www.google.com in the browser connects you to Google’s website.
Possible Questions:
A protocol is like a language or agreement between devices that defines:
• Short Answer: Define WWW.
• Short Answer: What are the requirements to access the World Wide Web? • How to start communication
• Long Answer: Explain the process of accessing a website using a URL. • How to transfer data
• How to detect and correct errors
• How to end communication
Internet
Definition: Common Internet Protocols
The Internet is a global network of interconnected computers that communicate using
standardized protocols.
2.1 HTTP (HyperText Transfer Protocol)
Explanation:
• Used for transferring web pages on the Internet.
• Every time you open a website, your browser uses HTTP to request data from the
server. 2.5 POP3 (Post Office Protocol v3)
• Port number: 80
• Used for retrieving emails from a mail server to a client.
• Downloads messages from server → removes them from the server.
• Port number: 110
Example: http://www.google.com
Example: Configuring Outlook with POP3 removes mails from server after
2.2 HTTPS (HyperText Transfer Protocol Secure) downloading.
2.3 FTP (File Transfer Protocol) Example: Gmail app uses IMAP to sync across devices.
2.4 SMTP (Simple Mail Transfer Protocol) Without DNS, we would have to remember numbers instead of names.
Example: Sending a WhatsApp message uses TCP/IP in the background. • Data is not sent all at once, but broken into packets.
• Each packet has:
o Header (address info)
o Payload (data)
2.9 UDP (User Datagram Protocol) o Trailer (error check)
3.6 Cookies
3. Other Networking Jargons • Small files stored on your computer by websites.
• Used to remember login info, preferences, shopping carts.
3.1 IP Address
3.7 VPN (Virtual Private Network)
• A unique number that identifies a device on the Internet.
• Types: • Encrypts your internet connection.
o IPv4 (e.g., 192.168.1.1) – 32-bit address.
• Masks your IP address → gives privacy.
o IPv6 (e.g., 2001:0db8:85a3::8a2e:0370:7334) – 128-bit address.
• Often used for secure remote work.
3.2 Bandwidth
4. Table: Summary of Common Protocols
• The amount of data that can be transmitted over a network in a given time.
• Measured in bits per second (bps), Mbps, Gbps, Tbps, etc. Port
Protocol Full Form Function Example
Number
HyperText Transfer Accessing
HTTP Transfers web pages 80
Protocol websites
3.3 Latency HyperText Transfer
HTTPS Secure websites 443 Online banking
Protocol Secure
• The delay between sending and receiving data. FTP File Transfer Protocol Upload/download files 21 Hosting websites
• Low latency = faster response (important in gaming, video calls).
Simple Mail Transfer
SMTP Send emails 25/587 Sending email
Protocol
POP3 Post Office Protocol v3 Retrieve emails 110 Outlook POP3
Port • Host name: www.amazon.com
Protocol Full Form Function Example • IP address: 176.32.98.166
Number
(download & delete)
Possible Questions:
Internet Message Access
IMAP Retrieve emails (sync) 143/993 Gmail app
Protocol
• Short Answer: What is a host machine?
DNS Domain Name System Converts domain to IP 53 www.google.com • Long Answer: Explain how host names are resolved into IP addresses.
Transmission Control
Reliable delivery &
TCP/IP Protocol / Internet Varies Browsing, email
addressing
Protocol
Internet Architecture and Packet Switching
Fast, unreliable data Streaming,
UDP User Datagram Protocol Varies
transfer gaming
Internet Architecture:
1. Define protocol. Give one example. • Data is divided into packets before transmission.
2. What is the difference between POP3 and IMAP? • Each packet contains source & destination addresses.
3. What does DNS do? • Packets travel independently and are reassembled at the destination.
7. Disadvantages
Diagram: Client–Server Model 1. Single point of failure: If server crashes, all clients are affected.
2. Network dependency: Clients cannot work if the network or server is down.
+---------+ Request +---------+
| Client | ---------------------> | Server | 3. Cost: Servers require more powerful hardware and maintenance.
| (Browser)| | (Website)| 4. Performance bottleneck: Too many clients may slow down the server.
+---------+ <--------------------- +---------+
Response
Detailed Explanation:
9. Comparison with Peer-to-Peer (P2P)
• Bandwidth determines how much information can flow through a network
Feature Client–Server Model Peer-to-Peer (P2P) Model connection at once.
Control Centralized (server) Decentralized (all peers equal) • It is similar to a water pipe: the wider the pipe, the more water flows. Similarly,
Scalability Limited by server capacity High, but harder to manage higher bandwidth means more data can be transmitted.
• Internet Service Providers (ISPs) advertise their plans using bandwidth values
Examples Web apps, Email, Banking systems Torrent sharing, Blockchain
(e.g., 100 Mbps broadband).
Security Easier to manage centrally More difficult, less controlled • Bandwidth is often shared: multiple users on the same Wi-Fi reduce effective
speed.
• Two directions:
10. Exam Questions 1. Download Bandwidth (Downstream): Receiving data from the Internet →
browsing, streaming, downloads.
2. Upload Bandwidth (Upstream): Sending data to the Internet → uploading
files, video conferencing.
Short Answer (2 Marks):
Bandwidth is the maximum rate at which data can be transferred over a network 1. Network congestion (many users online reduces speed).
connection in a given time. It is the “capacity” of the communication channel. 2. Quality of hardware (old routers, poor cables reduce performance).
3. Wired vs Wireless (Wi-Fi generally slower than Ethernet). • Real-time, immediate feedback.
4. Distance from server (closer servers provide faster response). • Reduces chances of miscommunication.
• Best for urgent and collaborative work.
Definition: Definition:
Synchronous communication is real-time communication where the sender and receiver Asynchronous communication is communication where sender and receiver do not
are engaged at the same time. interact at the same time.
Explanation: Explanation:
• Both parties must be present simultaneously. • The message is stored and delivered later when the receiver is available.
• Interaction is instant – message is sent and immediately received/responded to. • Allows flexibility; participants respond when convenient.
• Useful when immediate feedback is required. • Useful for remote teams or communication across time zones.
Examples: Examples:
Advantages: Advantages:
• Flexible – participants reply at their own convenience. Quick Example (Practical Bandwidth Calculation):
• Suitable for global communication.
• Allows time to think and prepare detailed responses. • A 100 MB file = 800 Megabits (since 1 Byte = 8 bits).
• On a 10 Mbps connection:
o Time to download = 800 ÷ 10 = 80 seconds.
Disadvantages:
Since bandwidth is measured in bits per second, understanding data size units is
important.
Working with E-mail
Unit Equivalent in Bytes
Definition:
1 Kilobyte (KB) 1,024 Bytes
1 Megabyte (MB) 1,024 KB = 1,048,576 Bytes Email (Electronic Mail) is a method of sending digital messages across the Internet.
1 Gigabyte (GB) 1,024 MB = 1,073,741,824 Bytes
1 Terabyte (TB) 1,024 GB = 1,099,511,627,776 Bytes Components:
1 Petabyte (PB) 1,024 TB = 1,125,899,906,842,624 Bytes
• Email address: username@domain.com
1 Exabyte (EB) 1,024 PB = 1,152,921,504,606,846,976 Bytes
• Email client: Software (e.g., Outlook, Gmail).
1 Zettabyte (ZB) 1,024 EB • Email server: Stores and forwards mail.
1 Yottabyte (YB) 1,024 ZB
Possible Questions:
• Short Answer: Define email. 3.
• Long Answer: Explain how email works with example.
Attachments
• Additional files (documents, images, audio, video, etc.) that are sent along with
Anatomy of an E-mail Message the email.
• Common formats: .pdf, .docx, .jpg, .mp3.
Definition:
4.
The anatomy of an email message refers to the different parts that make up an email.
Each part has a specific role in ensuring that the message is properly delivered, formatted, Signature
and understood.
• Custom block at the end of an email.
• Usually includes:
o Name of sender
1. o Designation
o Contact information
o Organization details
Header Section
1. What is the purpose of the Subject line in an email? Sending a New Mail Message
2. Differentiate between CC and BCC in email.
Steps:
Possible Questions:
Viewing Individual Mail Messages • Short Answer: Differentiate between reply and forward.
• Long Answer: Explain how to reply and forward an email with examples.
• Clicking on a mail displays full content.
• Options available: reply, forward, delete, mark as unread.
Example: