EZ

EZNotes

🎯 Aim

To create an HTML webpage that defines and explains Local Area Network (LAN) and Wide Area Network (WAN) with proper structure, headings, paragraphs, and formatting.

🛠️ What You Need

  • Notepad++ or any text editor
  • A web browser to view the result
  • Basic understanding of HTML headings, paragraphs, and lists

📖 Introduction

In this practical, you will create a webpage that explains two important types of computer networks:

  • Local Area Network (LAN) — A network that connects devices within a limited area like a home, school, or office building.
  • Wide Area Network (WAN) — A network that spans a large geographical area, often a country or continent, connecting multiple LANs.
💡 Tip: Use proper HTML structure — <h1> for the main title, <h2> for section headings, <p> for paragraphs, and <ul> or <ol> for lists of features or differences.

📊 Preview of the Output

Understanding LAN and WAN

🌐 What is a Local Area Network (LAN)?
A Local Area Network (LAN) is a computer network that connects devices within a small geographical area such as a home, office building, school, or campus. LANs are typically used to share resources like files, printers, and internet connections.
🌍 What is a Wide Area Network (WAN)?
A Wide Area Network (WAN) is a telecommunications network that extends over a large geographical area, often spanning cities, countries, or even continents. The Internet is the largest and most well-known example of a WAN.
📊 LAN vs WAN Comparison

Local Area Network (LAN)

  • Size: Small (within a building)
  • Speed: High (up to 10 Gbps)
  • Cost: Low to moderate
  • Ownership: Private
  • Example: Home network, school network

Wide Area Network (WAN)

  • Size: Large (cities, countries)
  • Speed: Lower (up to 1 Gbps)
  • Cost: High
  • Ownership: Public or private
  • Example: Internet, banking networks
📌 Key Differences
  • LAN is confined to a limited area, while WAN covers a large geographical area.
  • LAN offers higher speed and lower cost compared to WAN.
  • LAN is usually privately owned, while WAN can be public or private.
  • LAN uses technologies like Ethernet and Wi-Fi, while WAN uses technologies like MPLS, leased lines, and VPN.

📝 Step‑by‑Step: Creating the HTML Page

Step 1: Open Notepad++ and Write the Code

  1. Launch Notepad++.
  2. Set the language to HTML (Language → H → HTML).
  3. Write the following simplified HTML code:
<!-- Practical 65: LAN and WAN Definitions --> <html> <head> <title>LAN and WAN Definitions</title> </head> <body> <h1>🌐 Understanding LAN and WAN Networks</h1> <!-- LAN Definition Section --> <h2>🏠 What is a Local Area Network (LAN)?</h2> <p> A Local Area Network (LAN) is a computer network that connects devices within a small geographical area such as a home, office building, school, or campus. LANs are used to share resources like files, printers, and internet connections. </p> <p> LANs typically use technologies like Ethernet (wired) and Wi-Fi (wireless) to connect devices. They offer high speed (up to 10 Gbps) and low latency, making them ideal for local communication. </p> <h3>Key Features of LAN:</h3> <ul> <li>Confined to a limited area (e.g., a building)</li> <li>High data transfer speed (up to 10 Gbps)</li> <li>Low cost to set up and maintain</li> <li>Privately owned by the organization</li> <li>Examples: Home network, school computer lab</li> </ul> <!-- WAN Definition Section --> <h2>🌍 What is a Wide Area Network (WAN)?</h2> <p> A Wide Area Network (WAN) is a telecommunications network that extends over a large geographical area, often spanning cities, countries, or even continents. The Internet is the largest and most well-known example of a WAN. </p> <p> WANs connect multiple LANs together using technologies like leased lines, MPLS, satellite links, and VPNs. They enable long-distance communication but typically have lower speeds and higher costs compared to LANs. </p> <h3>Key Features of WAN:</h3> <ul> <li>Spans large geographical areas</li> <li>Lower data transfer speed (up to 1 Gbps)</li> <li>High cost to set up and maintain</li> <li>Can be public or privately owned</li> <li>Examples: Internet, banking networks, corporate networks</li> </ul> <!-- Comparison Section --> <h2>📊 LAN vs WAN Comparison</h2> <table border="1" cellpadding="8" cellspacing="0" style="width: 100%; border-collapse: collapse;"> <thead> <tr style="background: #2c3e50; color: white;"> <th>Feature</th> <th>LAN</th> <th>WAN</th> </tr> </thead> <tbody> <tr> <td>Size</strong></td> <td>Small (building)</td> <td>Large (cities/countries)</td> </tr> <tr> <td>Speed</strong></td> <td>High (up to 10 Gbps)</td> <td>Lower (up to 1 Gbps)</td> </tr> <tr> <td>Cost</strong></td> <td>Low to moderate</td> <td>High</td> </tr> <tr> <td>Ownership</strong></td> <td>Private</td> <td>Public or Private</td> </tr> <tr> <td>Technology</strong></td> <td>Ethernet, Wi-Fi</td> <td>MPLS, Leased Lines, VPN</td> </tr> <tr> <td>Example</strong></td> <td>Home, School Network</td> <td>Internet, Banking Network</td> </tr> </tbody> </table> <!-- Conclusion --> <h2>📌 Summary</h2> <p> In summary, LAN and WAN are two fundamental types of computer networks. LANs are designed for small, local areas with high speed and low cost, while WANs are designed for large geographical areas with lower speed and higher cost. Both are essential for modern communication and connectivity. </p> </body> </html>

Step 2: Save the File

  1. Go to File → Save As… (or press Ctrl+Shift+S).
  2. Choose a location (e.g., Desktop).
  3. Name the file: "lan_wan_networks.html" or "practical65.html".
  4. In "Save as type", select All types (*.*).
  5. Click Save.

Step 3: Open in Browser

  1. Navigate to the folder where you saved the file.
  2. Double‑click the lan_wan_networks.html file.
  3. It will open in your default web browser.
  4. You will see the complete webpage with LAN and WAN definitions, features, and a comparison table.

📊 HTML Elements Used in This Practical

HTML Element Purpose Example
<h1> to <h3> Headings for structure Main title, section headings
<p> Paragraphs for definitions Descriptions of LAN and WAN
<ul> and <li> Unordered lists for features Key features of LAN and WAN
<table> Table for comparison LAN vs WAN comparison
<strong> Bold text for emphasis Highlighting key terms

📊 Comparison Table: LAN vs WAN

Feature LAN WAN
Size Small (within a building) Large (cities, countries)
Speed High (up to 10 Gbps) Lower (up to 1 Gbps)
Cost Low to moderate High
Ownership Private Public or Private
Technology Ethernet, Wi-Fi MPLS, Leased Lines, VPN
Example Home, School Network Internet, Banking Network

📊 Common Mistakes to Avoid

Mistake Why It's Wrong Correct Way
Using only <p> without headings No structure, hard to read Use <h1>, <h2>, <h3> for hierarchy
Not using lists for features Hard to scan Use <ul> with <li> for features
No table for comparison Difficult to compare Use <table> for side-by-side comparison
Forgetting to close tags Invalid HTML Always close tags properly

📊 Observations

  • Using headings (<h1>, <h2>, <h3>) creates a clear hierarchy of information.
  • Paragraphs (<p>) are used for detailed definitions and explanations.
  • Unordered lists (<ul>) are perfect for listing key features.
  • A comparison table makes it easy to see the differences between LAN and WAN.
  • Using bold text (<strong>) helps emphasize important terms.
  • Proper HTML structure improves readability and accessibility.

✅ Result

You have successfully:

  • Created an HTML webpage that defines LAN and WAN.
  • Used proper HTML structure with headings, paragraphs, lists, and a table.
  • Formatted the content for clear reading and understanding.
  • Viewed the complete webpage in a browser.
📌 Important: Good HTML structure — using headings, paragraphs, lists, and tables — makes your content more readable, organized, and accessible. Always plan your content structure before writing the code!
💡 Next Steps: Try adding more sections to your webpage — like advantages and disadvantages of LAN and WAN, or images to illustrate the network types. You can also add a footer with references or a navigation menu!

🎯 مقصد

ایک HTML ویب صفحہ بنانا جو لوکل ایریا نیٹ ورک (LAN) اور وائیڈ ایریا نیٹ ورک (WAN) کی وضاحت اور تعریف کو مناسب ڈھانچے، ہیڈنگز، پیراگرافز، اور فارمیٹنگ کے ساتھ پیش کرتا ہے۔

🛠️ آپ کو کیا چاہیے

  • Notepad++ یا کوئی بھی ٹیکسٹ ایڈیٹر
  • نتیجہ دیکھنے کے لیے ایک ویب براؤزر
  • HTML ہیڈنگز، پیراگرافز، اور فہرستوں کی بنیادی معلومات

📖 تعارف

اس عملی میں، آپ ایک ویب صفحہ بنائیں گے جو کمپیوٹر نیٹ ورکس کی دو اہم اقسام کی وضاحت کرتا ہے:

  • لوکل ایریا نیٹ ورک (LAN) — ایک ایسا نیٹ ورک جو گھر، اسکول، یا دفتر کی عمارت جیسے محدود علاقے میں آلات کو جوڑتا ہے۔
  • وائیڈ ایریا نیٹ ورک (WAN) — ایک ایسا نیٹ ورک جو ایک بڑے جغرافیائی علاقے، اکثر ملک یا براعظم، میں پھیلا ہوا ہے اور متعدد LANs کو جوڑتا ہے۔
💡 مشورہ: مناسب HTML ڈھانچہ استعمال کریں — مرکزی عنوان کے لیے <h1>، سیکشن ہیڈنگز کے لیے <h2>، پیراگرافز کے لیے <p>، اور خصوصیات یا فرق کی فہرست کے لیے <ul> یا <ol> استعمال کریں۔

📊 آؤٹ پٹ کا پیش منظر

LAN اور WAN کو سمجھنا

🌐 لوکل ایریا نیٹ ورک (LAN) کیا ہے؟
لوکل ایریا نیٹ ورک (LAN) ایک کمپیوٹر نیٹ ورک ہے جو گھر، دفتر، اسکول، یا کیمپس جیسے چھوٹے جغرافیائی علاقے میں آلات کو جوڑتا ہے۔ LANs عام طور پر فائلوں، پرنٹرز، اور انٹرنیٹ کنیکشنز جیسے وسائل کو شیئر کرنے کے لیے استعمال ہوتے ہیں۔
🌍 وائیڈ ایریا نیٹ ورک (WAN) کیا ہے؟
وائیڈ ایریا نیٹ ورک (WAN) ایک ٹیلی کمیونیکیشن نیٹ ورک ہے جو ایک بڑے جغرافیائی علاقے، اکثر شہروں، ممالک، یا براعظموں تک پھیلا ہوا ہے۔ انٹرنیٹ WAN کی سب سے بڑی اور معروف مثال ہے۔
📊 LAN بمقابلہ WAN کا موازنہ

لوکل ایریا نیٹ ورک (LAN)

  • سائز: چھوٹا (عمارت کے اندر)
  • رفتار: تیز (10 Gbps تک)
  • لاگت: کم سے درمیانی
  • ملکیت: نجی
  • مثال: گھریلو نیٹ ورک، اسکول نیٹ ورک

وائیڈ ایریا نیٹ ورک (WAN)

  • سائز: بڑا (شہر، ممالک)
  • رفتار: کم (1 Gbps تک)
  • لاگت: زیادہ
  • ملکیت: عوامی یا نجی
  • مثال: انٹرنیٹ، بینکنگ نیٹ ورک
📌 اہم فرق
  • LAN ایک محدود علاقے تک محدود ہے، جبکہ WAN ایک بڑے جغرافیائی علاقے کا احاطہ کرتا ہے۔
  • LAN زیادہ رفتار اور کم لاگت پیش کرتا ہے جبکہ WAN کے مقابلے میں۔
  • LAN عام طور پر نجی ملکیت ہے، جبکہ WAN عوامی یا نجی ہو سکتا ہے۔
  • LAN ایتھرنیٹ اور Wi-Fi جیسی ٹیکنالوجیز استعمال کرتا ہے، جبکہ WAN MPLS، لیزڈ لائنز، اور VPN جیسی ٹیکنالوجیز استعمال کرتا ہے۔

📝 مرحلہ وار: HTML صفحہ بنانا

پہلا قدم: Notepad++ کھولیں اور کوڈ لکھیں

  1. Notepad++ لانچ کریں۔
  2. زبان کو HTML پر سیٹ کریں (Language → H → HTML)۔
  3. نیچے دیا گیا آسان HTML کوڈ لکھیں:
<!-- Practical 65: LAN and WAN Definitions --> <html> <head> <title>LAN and WAN Definitions</title> </head> <body> <h1>🌐 LAN اور WAN نیٹ ورکس کو سمجھنا</h1> <!-- LAN Definition Section --> <h2>🏠 لوکل ایریا نیٹ ورک (LAN) کیا ہے؟</h2> <p> لوکل ایریا نیٹ ورک (LAN) ایک کمپیوٹر نیٹ ورک ہے جو گھر، دفتر کی عمارت، اسکول، یا کیمپس جیسے چھوٹے جغرافیائی علاقے میں آلات کو جوڑتا ہے۔ LANs فائلوں، پرنٹرز، اور انٹرنیٹ کنیکشنز جیسے وسائل کو شیئر کرنے کے لیے استعمال ہوتے ہیں۔ </p> <p> LANs عام طور پر آلات کو جوڑنے کے لیے ایتھرنیٹ (وائرڈ) اور Wi-Fi (وائرلیس) جیسی ٹیکنالوجیز استعمال کرتے ہیں۔ یہ تیز رفتار (10 Gbps تک) اور کم تاخیر پیش کرتے ہیں، جو انہیں مقامی مواصلات کے لیے مثالی بناتے ہیں۔ </p> <h3>LAN کی اہم خصوصیات:</h3> <ul> <li>محدود علاقے تک محدود (مثلاً ایک عمارت)</li> <li>تیز ڈیٹا ٹرانسفر کی رفتار (10 Gbps تک)</li> <li>سیٹ اپ اور دیکھ بھال کی کم لاگت</li> <li>تنظیم کی نجی ملکیت</li> <li>مثالیں: گھریلو نیٹ ورک، اسکول کمپیوٹر لیب</li> </ul> <!-- WAN Definition Section --> <h2>🌍 وائیڈ ایریا نیٹ ورک (WAN) کیا ہے؟</h2> <p> وائیڈ ایریا نیٹ ورک (WAN) ایک ٹیلی کمیونیکیشن نیٹ ورک ہے جو ایک بڑے جغرافیائی علاقے، اکثر شہروں، ممالک، یا براعظموں تک پھیلا ہوا ہے۔ انٹرنیٹ WAN کی سب سے بڑی اور معروف مثال ہے۔ </p> <p> WANs لیزڈ لائنز، MPLS، سیٹلائٹ لنکس، اور VPNs جیسی ٹیکنالوجیز کا استعمال کرتے ہوئے متعدد LANs کو جوڑتے ہیں۔ یہ طویل فاصلے پر مواصلات کو قابل بناتے ہیں لیکن عام طور پر LANs کے مقابلے میں کم رفتار اور زیادہ لاگت رکھتے ہیں۔ </p> <h3>WAN کی اہم خصوصیات:</h3> <ul> <li>بڑے جغرافیائی علاقوں پر پھیلا ہوا ہے</li> <li>کم ڈیٹا ٹرانسفر کی رفتار (1 Gbps تک)</li> <li>سیٹ اپ اور دیکھ بھال کی زیادہ لاگت</li> <li>عوامی یا نجی ملکیت ہو سکتی ہے</li> <li>مثالیں: انٹرنیٹ، بینکنگ نیٹ ورک، کارپوریٹ نیٹ ورک</li> </ul> <!-- Comparison Section --> <h2>📊 LAN بمقابلہ WAN کا موازنہ</h2> <table border="1" cellpadding="8" cellspacing="0" style="width: 100%; border-collapse: collapse;"> <thead> <tr style="background: #2c3e50; color: white;"> <th>خصوصیت</th> <th>LAN</th> <th>WAN</th> </tr> </thead> <tbody> <tr> <td>سائز</strong></td> <td>چھوٹا (عمارت)</td> <td>بڑا (شہر/ممالک)</td> </tr> <tr> <td>رفتار</strong></td> <td>تیز (10 Gbps تک)</td> <td>کم (1 Gbps تک)</td> </tr> <tr> <td>لاگت</strong></td> <td>کم سے درمیانی</td> <td>زیادہ</td> </tr> <tr> <td>ملکیت</strong></td> <td>نجی</td> <td>عوامی یا نجی</td> </tr> <tr> <td>ٹیکنالوجی</strong></td> <td>ایتھرنیٹ، Wi-Fi</td> <td>MPLS، لیزڈ لائنز، VPN</td> </tr> <tr> <td>مثال</strong></td> <td>گھر، اسکول نیٹ ورک</td> <td>انٹرنیٹ، بینکنگ نیٹ ورک</td> </tr> </tbody> </table> <!-- Conclusion --> <h2>📌 خلاصہ</h2> <p> خلاصہ یہ کہ LAN اور WAN کمپیوٹر نیٹ ورکس کی دو بنیادی اقسام ہیں۔ LANs چھوٹے، مقامی علاقوں کے لیے تیز رفتار اور کم لاگت کے ساتھ ڈیزائن کیے گئے ہیں، جبکہ WANs بڑے جغرافیائی علاقوں کے لیے کم رفتار اور زیادہ لاگت کے ساتھ ڈیزائن کیے گئے ہیں۔ دونوں جدید مواصلات اور رابطے کے لیے ضروری ہیں۔ </p> </body> </html>

دوسرا قدم: فائل محفوظ کریں

  1. File → Save As… (یا Ctrl+Shift+S) پر جائیں۔
  2. ایک مقام منتخب کریں (مثلاً Desktop)۔
  3. فائل کا نام رکھیں: "lan_wan_networks.html" یا "practical65.html"۔
  4. "Save as type" میں All types (*.*) منتخب کریں۔
  5. Save پر کلک کریں۔

تیسرا قدم: براؤزر میں کھولیں

  1. اس فولڈر میں جائیں جہاں آپ نے فائل محفوظ کی تھی۔
  2. lan_wan_networks.html فائل پر ڈبل‑کلک کریں۔
  3. یہ آپ کے ڈیفالٹ براؤزر میں کھل جائے گی۔
  4. آپ کو LAN اور WAN کی تعریفوں، خصوصیات، اور موازنہ کی میز کے ساتھ مکمل ویب صفحہ نظر آئے گا۔

📊 اس عملی میں استعمال ہونے والے HTML عناصر

HTML عنصر مقصد مثال
<h1> سے <h3> ڈھانچے کے لیے ہیڈنگز مرکزی عنوان، سیکشن ہیڈنگز
<p> تعریفوں کے لیے پیراگراف LAN اور WAN کی وضاحتیں
<ul> اور <li> خصوصیات کے لیے غیر ترتیب شدہ فہرست LAN اور WAN کی اہم خصوصیات
<table> موازنے کے لیے میز LAN بمقابلہ WAN کا موازنہ
<strong> زور دینے کے لیے بولڈ ٹیکسٹ کلیدی اصطلاحات کو نمایاں کرنا

📊 موازنہ کی میز: LAN بمقابلہ WAN

خصوصیت LAN WAN
سائز چھوٹا (عمارت کے اندر) بڑا (شہر، ممالک)
رفتار تیز (10 Gbps تک) کم (1 Gbps تک)
لاگت کم سے درمیانی زیادہ
ملکیت نجی عوامی یا نجی
ٹیکنالوجی ایتھرنیٹ، Wi-Fi MPLS، لیزڈ لائنز، VPN
مثال گھر، اسکول نیٹ ورک انٹرنیٹ، بینکنگ نیٹ ورک

📊 عام غلطیاں جن سے بچنا ہے

غلطی یہ کیوں غلط ہے صحیح طریقہ
صرف <p> کا استعمال بغیر ہیڈنگز کے کوئی ڈھانچہ نہیں، پڑھنا مشکل درجہ بندی کے لیے <h1>، <h2>، <h3> استعمال کریں
خصوصیات کے لیے فہرستوں کا استعمال نہ کرنا اسکین کرنا مشکل خصوصیات کے لیے <ul> کو <li> کے ساتھ استعمال کریں
موازنے کے لیے میز کا استعمال نہ کرنا موازنہ کرنا مشکل ایک ساتھ موازنہ کے لیے <table> استعمال کریں
ٹیگز بند کرنا بھول جانا غلط HTML ہمیشہ ٹیگز کو صحیح طریقے سے بند کریں

📊 مشاہدات

  • ہیڈنگز (<h1>، <h2>، <h3>) کا استعمال معلومات کی ایک واضح درجہ بندی بناتا ہے۔
  • پیراگرافز (<p>) تفصیلی تعریفوں اور وضاحتوں کے لیے استعمال ہوتے ہیں۔
  • غیر ترتیب شدہ فہرست (<ul>) اہم خصوصیات کی فہرست کے لیے بہترین ہے۔
  • ایک موازنہ کی میز LAN اور WAN کے درمیان فرق دیکھنا آسان بناتی ہے۔
  • بولڈ ٹیکسٹ (<strong>) کا استعمال اہم اصطلاحات کو نمایاں کرنے میں مدد کرتا ہے۔
  • مناسب HTML ڈھانچہ پڑھنے کی اہلیت اور رسائی کو بہتر بناتا ہے۔

✅ نتیجہ

آپ نے کامیابی سے:

  • LAN اور WAN کی وضاحت کرنے والا ایک HTML ویب صفحہ بنایا۔
  • ہیڈنگز، پیراگرافز، فہرستوں، اور ایک میز کے ساتھ مناسب HTML ڈھانچہ استعمال کیا۔
  • مواد کو واضح پڑھنے اور سمجھنے کے لیے فارمیٹ کیا۔
  • مکمل ویب صفحہ کو براؤزر میں دیکھا۔
📌 اہم: اچھا HTML ڈھانچہ — ہیڈنگز، پیراگرافز، فہرستوں، اور میز کا استعمال — آپ کے مواد کو مزید پڑھنے کے قابل، منظم، اور قابل رسائی بناتا ہے۔ کوڈ لکھنے سے پہلے ہمیشہ اپنے مواد کے ڈھانچے کی منصوبہ بندی کریں!
💡 اگلے اقدامات: اپنے ویب صفحے میں مزید سیکشنز شامل کرنے کی کوشش کریں — جیسے LAN اور WAN کے فوائد اور نقصانات، یا نیٹ ورک کی اقسام کو واضح کرنے کے لیے تصاویر۔ آپ حوالہ جات کے ساتھ ایک فوٹر یا نیویگیشن مینو بھی شامل کر سکتے ہیں!