Introduction to WWW
M2-R5.1 · Chapter 1: Introduction to Web Design · 5 min read
WWW (World Wide Web)
बहुत से students Internet और WWW को एक ही समझते हैं, लेकिन दोनों अलग हैं।
Internet
Internet एक global network है जो दुनिया भर के computers, devices और networks को आपस में connect करता है।
यह different devices के बीच data communication और transfer के लिए infrastructure प्रदान करता है।
World Wide Web (WWW)
WWW Internet पर चलने वाली एक service है जिसमें websites और web pages शामिल होते हैं।
WWW को access करने के लिए सामान्यतः Web Browser का उपयोग किया जाता है और web communication में HTTP/HTTPS जैसे protocols का उपयोग होता है।
📋 Difference Between Internet and WWW
| Internet | WWW |
|---|---|
| Internet एक global network of networks है। | WWW Internet पर उपलब्ध एक service है। |
| यह devices और networks को connect करता है। | यह websites और web pages को access करने की सुविधा देता है। |
| यह TCP/IP जैसे protocols का उपयोग करता है। | यह mainly HTTP/HTTPS के माध्यम से web resources access करता है। |
| WWW के अलावा Internet पर अन्य services भी होती हैं। | WWW Internet की एक service है। |
💡 Easy Way to Remember
Internet = Network
WWW = Web pages और websites की service
🔑 Components of the World Wide Web
WWW को समझने के लिए कुछ important components को समझना जरूरी है।
1. Web Browser
Web Browser एक software application है जिसकी सहायता से users websites और web pages को access, retrieve और view कर सकते हैं।
Examples:
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
- Safari
2. HTML
HTML (HyperText Markup Language) एक markup language है जिसका उपयोग web pages का structure और content बनाने के लिए किया जाता है।
HTML की सहायता से webpage में:
- Headings
- Paragraphs
- Images
- Links
- Tables
आदि add किए जा सकते हैं।
3. CSS
CSS (Cascading Style Sheets) एक stylesheet language है जिसका उपयोग web pages के design और appearance को define करने के लिए किया जाता है।
CSS की सहायता से webpage में:
- Colors
- Fonts
- Spacing
- Layout
- Styles
आदि को control किया जाता है।
4. JavaScript
JavaScript एक programming language है जिसका उपयोग webpages में dynamic और interactive features add करने के लिए किया जाता है।
Examples:
- Form Validation
- Animations
- Interactive Menus
- Real-time Updates
5. Web Server
Web Server एक computer system या software होता है जो web pages और website files को store और serve करता है।
जब user किसी website को access करता है, तो Web Server browser की request को process करके required resources provide करता है।
6. HTTP and HTTPS
HTTP (HyperText Transfer Protocol) और HTTPS (HyperText Transfer Protocol Secure) web browser और web server के बीच communication के लिए उपयोग किए जाने वाले protocols हैं।
- HTTP → Web communication के लिए standard protocol.
- HTTPS → HTTP का secure version है, जिसमें communication को encryption की सहायता से protect किया जाता है।
7. URL
URL (Uniform Resource Locator) किसी web page या online resource का address होता है।
इसके द्वारा browser को पता चलता है कि किसी particular resource को कहाँ access करना है।
Example:
https://www.example.com
8. DNS
DNS (Domain Name System) एक system है जो domain name को corresponding IP address में translate करता है।
उदाहरण के लिए, user www.google.com जैसा easy-to-remember domain name use करता है, जबकि network communication के लिए उसका corresponding IP address उपयोग किया जाता है।
💡 Easy Flow
Domain Name → DNS → IP Address → Web Server
📌 Basic Elements Related to WWW
WWW को समझने के लिए इन basic terms को समझना बहुत important है:
- Website
- Web Page
- Hypertext
- Hyperlink
अब इन्हें एक-एक करके समझते हैं।
🖥️ Website
What is a Website?
Website आपस में interlinked web pages और related resources का collection है, जो किसी person, business, school, organization या government से संबंधित हो सकता है।
एक website में एक या multiple web pages हो सकते हैं।
उदाहरण:
Skilldotpy एक educational website है जिसमें अलग-अलग pages और resources उपलब्ध हैं।
Examples of Websites
- Educational Websites
- E-commerce Websites
- Government Websites
- News Websites
- Job Portals
- Social Media Websites
What is Required to Make a Website Available on the Internet?
किसी website को Internet पर available कराने के लिए सामान्यतः इन चीजों की आवश्यकता होती है:
- Website Files – HTML, CSS, JavaScript, Images आदि।
- Domain Name – Website का human-readable address.
- Web Hosting / Web Server – जहाँ website files store और serve की जाती हैं।
- Internet – Website को users तक पहुँचाने के लिए।
💡 Example
जब कोई user:
https://skilldotpy.com
open करता है, तो browser website के server से required resources request करता है और webpage को screen पर display करता है।
📄 Web Page
Web Page एक electronic document है जिसे सामान्यतः HTML में बनाया जाता है और जिसे Web Browser के माध्यम से access किया जा सकता है।
एक web page में different types का content हो सकता है, जैसे:
- Text
- Images
- Audio
- Video
- Links
- Tables
- Forms
प्रत्येक web page का एक URL (Uniform Resource Locator) हो सकता है, जिसकी सहायता से उसे directly access किया जा सकता है।
🏠 Homepage
किसी website के main या primary page को सामान्यतः Homepage कहा जाता है।
💡 Remember
Website = Collection of Web Pages
Web Page = Website का एक individual page
🔗 Hyperlink
Hyperlink एक clickable element है जिसकी सहायता से user एक web page, document, file या किसी अन्य resource पर navigate कर सकता है।
जब user किसी hyperlink पर click करता है, तो browser उस link से जुड़े destination को open करता है।
Hyperlinks को text, images या अन्य clickable elements के रूप में बनाया जा सकता है।
Types of Hyperlinks
1. Text Hyperlink
जब किसी text को clickable link बनाया जाता है, तो उसे Text Hyperlink कहा जाता है।
Example:
Visit Skilldotpy
2. Image Hyperlink
जब किसी image को clickable बनाया जाता है और उस पर click करने से किसी दूसरे page या resource पर navigation होता है, तो उसे Image Hyperlink कहा जाता है।
3. Image Map
Image Map में एक single image के different areas को अलग-अलग clickable links बनाया जा सकता है।
उदाहरण के लिए, किसी India Map की image में अलग-अलग states पर click करके अलग-अलग pages open किए जा सकते हैं।
✨ Hypertext
Hypertext ऐसा text है जिसमें hyperlinks मौजूद होते हैं, जिनकी सहायता से user किसी दूसरे web page, resource या उसी page के किसी दूसरे section पर navigate कर सकता है।
उदाहरण के लिए, किसी webpage पर "Click Here" लिखा है और उस text पर click करने से दूसरा webpage open होता है, तो यह Hypertext का example है।
📌 Key Information / मुख्य जानकारी
Hypertext = Text + Hyperlinks
⚙️ How Does a Website Work?
जब कोई user किसी website को access करता है, तो कई steps होते हैं।
Step 1: User Enters URL
User अपने Web Browser में website का URL enter करता है।
Example:
https://skilldotpy.com
Step 2: DNS Resolution
Browser domain name को resolve करने के लिए DNS (Domain Name System) का उपयोग करता है।
Domain Name → IP Address
Step 3: Request to Web Server
Browser उस IP address पर मौजूद Web Server को website के लिए request भेजता है।
Step 4: Server Sends Response
Web Server request को process करके required files और resources browser को भेजता है।
इनमें शामिल हो सकते हैं:
- HTML
- CSS
- JavaScript
- Images
- Other resources
Step 5: Browser Renders the Page
Browser received files को process और render करता है और final webpage को user's screen पर display करता है।