March 2025 - .OnlineGuruji

.OnlineGuruji

Provides E-Notes,Video Tutorials And Download Links For Students In hindi

*********************************************************

*********************************************************
********************************************************************************

Breaking

Ramchandicollege Saraipali

Technology Jobs

OnlineGuru Blog मे आपका स्वागत है ब्लॉग से संबन्धित जानकारी के लिए संपर्क करें मो ॰ नम ।-9826026747(सपन कुमार दास) अपने विषय से संबन्धित अपडेट प्राप्त करने के लिए ब्लॉग पे दिये गए Bell Icon को press करें कम्प्युटर,Science,English Grammer से संबन्धित विषय की अधिक जानकारी के लिए हमारे ब्लॉग अथवा यू ट्यूब चैनल को सब्क्राइब करे ..

Saturday, March 15, 2025

March 15, 2025

बेसिक HTML tag

 


Basic tags in HTML.

Heading Tags

हेडिंग टैग का उपयोग headings of documents को परिभाषित करने के लिए किया जाता है। आप अपने headings के लिए अलग-अलग sizes का उपयोग कर सकते हैं। HTML में six levels of headings जो <h1>, <h2>, <h3>, <h4>, <h5> और <h6>  का उपयोग करते हैं।

Example:-

<!DOCTYPE html>

<html>

<head>

   <title>Heading Example</title>

</head>

<body>

   <h1>This is heading 1</h1>

   <h2>This is heading 2</h2>

   <h3>This is heading 3</h3>

   <h4>This is heading 4</h4>

   <h5>This is heading 5</h5>

   <h6>This is heading 6</h6>

</body>

</html>

Output:-

This is heading 1

This is heading 2

This is heading 3

This is heading 4

This is heading 5

This is heading 6

Paragraph Tag

<p> tag  का उपयोग  different different paragraphs के लिए किया जाता है . प्रत्येक  paragraph का  text  <p>के साथ openहोता है और   </p> tag के साथ close होता है .

 

Example

The following example demonstrates the use of paragraph (<p>) tag, here we are defining 3 paragraphs

<!DOCTYPE html>

<html>

<head>

   <title>Paragraph Example</title>

</head>

<body>

   <p>Here is a first paragraph of text.</p>

   <p>Here is a second paragraph of text.</p>

   <p>Here is a third paragraph of text.</p>

</body>

</html>

Output:-

Here is a first paragraph of text.

Here is a second paragraph of text.

Here is a third paragraph of text.

Line Break Tag

Whenever you use the <br /> element, anything following it starts from the next line. This tag is an example of an empty element, where you do not need opening and closing tags, as there is nothing to go in between them.

 

The <br /> tag has a space between the characters br and the forward slash /. If you omit this space, older browsers will have trouble rendering the line break, while if you miss the forward slash character and just use <br

Example

The following example demonstrates the use of break (<br />) tag

<!DOCTYPE html>

<html>

<head>

   <title>Line Break Example</title>

</head>

<body>

   <p>Hello<br /> You delivered your assignment on time.<br />

      Thanks<br /> Mahnaz</p>

</body>

</html>

Hello

You delivered your assignment on time.

Thanks

Mahnaz

Center Tag

The <center> tag aligns text, images, or other HTML elements in the middle of a web page.

 

Note: The <center> tag is deprecated in HTML5. You can use the CSS text-align property to center elements.

 

Example

The following example demonstrates the use of the <center> tag. Here, we are displaying the second paragraph in center alignment:

<!DOCTYPE html>

<html>

<head>

   <title>Centering Content Example</title>

</head>

<body>

   <p>This text is not in the center.</p>

   <center>

      <p>This text is in the center.</p>

   </center>

</body>

</html>

Output:-

This text is not in the center.

This text is in the center.

Horizonal Rule Tag

The horizontal rule (<hr>) tag displays a horizonal line. A horizontal line visually breaks up sections of a document. The <hr> tag creates a line from the current position in the document to the right margin and breaks the line accordingly.

 

Example

The following example draws a horizontal line between two paragraphs

<!DOCTYPE html>

<html>

<head>

   <title>Horizontal Line Example</title>

</head>

<body>

   <p>This is paragraph one and should be on top</p>

   <hr />

   <p>This is paragraph two and should be at bottom</p>

</body>

</html>

Output:-

 

This is paragraph one and should be on top

 

This is paragraph two and should be at bottom

Preserve Formatting Tag

The <pre> tag is used to preserve the formatting. Whenever you want to display content on the webpage exactly in the same format as it was written in the HTML document, you can use the <pre> tag. It preserves the formatting of source code, including line breaks and indentation.

 

Example

The following example demonstrates the use of the <pre> tag. Here, we are displaying some code that should keep the formatting exactly the same as it is written inside the <pre> tag

<!DOCTYPE html>

<html>

<head>

   <title>Preserve Formatting Example</title>

</head>

<body>

   <pre>

      function testFunction( strText ){

         alert (strText)

      }

   </pre>

</body>

</html>

Output:-

 

function testFunction( strText ){

         alert (strText)

      }

March 15, 2025

What is HTML?Basic HTML Structure:------

 


HTML एक मानक मार्कअप भाषा है, जिसका पूरा नाम हाइपर टेक्स्ट मार्कअप भाषा (Hyper Text Markup Language) है। यह वेबपेज बनाने के लिए व्यापक रूप से उपयोग की जाने वाली भाषा है। HTML का आविष्कार टिम बर्नर्स-ली (Tim Berners-Lee) ने 1991 के अंत में किया था, लेकिन इसका पहला संस्करण "HTML 1.0" वर्ष 1993 में जारी किया गया था। "HTML 2.0" पहला मानक HTML विनिर्देश (specification) था, जिसे 1995 में प्रकाशित किया गया था।

HTML क्या है?

HTML (HyperText Markup Language) एक मानक मार्कअप भाषा है, जिसका उपयोग वेबपेज की संरचना (structure) को डिज़ाइन करने के लिए किया जाता है। HTML दो शब्दों का संयोजन है: HyperText और Markup Language

  • HyperText वेबपेजों के बीच आंतरिक लिंक (internal links) को परिभाषित करता है।
  • Markup Language टेक्स्ट और मीडिया की लेआउट (layout) और प्रस्तुति (presentation) को परिभाषित करता है।

HTML की मूल संरचना

HTML दस्तावेज़ की बुनियादी संरचना में कुछ आवश्यक टैग होते हैं, जिनका उपयोग वेबपेज बनाने के लिए आवश्यक होता है। किसी भी प्रकार का HTML दस्तावेज़ बनाने के लिए इस संरचना का पालन करना अनिवार्य है।

<!DOCTYPE html>

<html>

<head>

   <title>Page title</title>

</head>

<body>

   <h1>Webpage's Heading</h1>

   <p>Content (Your first paragraph).</p>

</body>

</html>

Creating an HTML Document

HTML दस्तावेज़ एक फ़ाइल होती है जिसमें HTML कोड लिखा होता है और इसे ".htm" या ".html" एक्सटेंशन के साथ सहेजा जाता है। HTML दस्तावेज़ बनाने के लिए आपको एक टेक्स्ट एडिटर की आवश्यकता होती है, और इसे प्रदर्शित करने के लिए आपको एक वेब ब्राउज़र की जरूरत होती है।

HTML दस्तावेज़ बनाने के लिए निम्नलिखित चरणों का पालन करें –

  1. एक टेक्स्ट एडिटर खोलें (जैसे Notepad, VS Code)।
  2. HTML कोड लिखें
  3. फ़ाइल को ".htm" या ".html" एक्सटेंशन के साथ सहेजें

    Advantages of Learning HTML  HTML सीखने के कुछ प्रमुख लाभ निम्नलिखित हैं –

    Create a web site यदि आप HTML को अच्छी तरह से जानते हैं, तो आप एक नई वेबसाइट बना सकते हैं या पहले से मौजूद वेब टेम्पलेट को कस्टमाइज़ कर सकते हैं।

    Become a web designer यदि आप एक पेशेवर वेब डिज़ाइनर के रूप में करियर शुरू करना चाहते हैं, तो HTML और CSS सीखना अनिवार्य है।

    Understand web- यदि आप अपनी वेबसाइट को बेहतर प्रदर्शन और तेज़ लोडिंग स्पीड के लिए ऑप्टिमाइज़ करना चाहते हैं, तो HTML का ज्ञान बेहतरीन परिणाम प्राप्त करने में मदद करता है

    Learn other languages एक बार जब आप HTML की मूल बातें समझ लेते हैं, तो JavaScript, PHP, या Angular जैसी अन्य संबंधित तकनीकों को सीखना आसान हो जाता है।

    Applications of HTML                                                                                                जैसा कि पहले बताया गया है, HTML वेब पर सबसे अधिक उपयोग की जाने वाली भाषाओं में से एक है। इसके कुछ प्रमुख अनुप्रयोग निम्नलिखित हैं –

    वेबसाइट विकास (Website Development) – HTML का उपयोग वेबपेज (वेबसाइट) बनाने के लिए किया जाता है। लगभग हर वेबपेज में HTML टैग होते हैं, जो ब्राउज़र में उसकी जानकारी को प्रस्तुत करने में मदद करते हैं।

    इंटरनेट नेविगेशन (Internet Navigation) – HTML नेविगेशन टैग प्रदान करता है, जो एक पेज से दूसरे पेज पर जाने के लिए उपयोग किए जाते हैं। यह इंटरनेट ब्राउज़िंग का एक महत्वपूर्ण हिस्सा है।

    रेस्पॉन्सिव UI (Responsive UI) – आधुनिक HTML पेज मोबाइल, टैबलेट, डेस्कटॉप, और लैपटॉप जैसे सभी प्लेटफार्मों पर अच्छी तरह काम करते हैं, क्योंकि अब वे रेस्पॉन्सिव डिज़ाइन स्ट्रैटेजी का समर्थन करते हैं।

    ऑफ़लाइन समर्थन (Offline Support) – एक बार HTML पेज लोड हो जाने के बाद, उसे इंटरनेट कनेक्शन के बिना भी ऑफ़लाइन एक्सेस किया जा सकता है।

    गेम डेवलपमेंट (Game Development)HTML5 में मल्टीमीडिया और इंटरएक्टिव कंटेंट के लिए नेटिव सपोर्ट मौजूद है, जिससे यह गेम डेवलपमेंट के क्षेत्र में भी उपयोगी हो गया है।

    मोबाइल एप्लिकेशन डेवलपमेंट (Mobile Application Development)HTML, CSS3, और JavaScript की मदद से क्रॉस-प्लेटफ़ॉर्म मोबाइल एप्लिकेशन विकसित की जा सकती हैं।

    मल्टीमीडिया और वीडियो स्ट्रीमिंग (Multimedia & Video Streaming)HTML5 में वीडियो और ऑडियो तत्वों (elements) के लिए इनबिल्ट सपोर्ट होता है, जिससे वेब ब्राउज़र में सीधे मीडिया प्लेबैक संभव हो जाता है।                                                                                                                                    

    Basic HTML Structure

    HTML दस्तावेज़ की बुनियादी संरचना में कुछ आवश्यक टैग होते हैं, जिनका उपयोग किसी भी वेबपेज को बनाने के लिए अनिवार्य होता है। इस संरचना का पालन करना प्रत्येक HTML दस्तावेज़ के लिए आवश्यक है।

    <!DOCTYPE html>

    <html>

    <head>

       <title>Page title</title>

    </head>

    <body>

       <h1>Webpage's Heading</h1>

       <p>Content (Your first paragraph).</p>

    </body>

    </html>

     

     

    Elements of HTML Basic Structure

    The following are the basic tags that define the basic HTML structure

    1. <!DOCTYPE html>

    This element defines the document type as HTML. This element must be written before writing any HTML document.                                                                        यह तत्व दस्तावेज़ के प्रकार (Document Type) को HTML के रूप में परिभाषित करता है। इसे किसी भी HTML दस्तावेज़ को लिखने से पहले अनिवार्य रूप से लिखा जाना चाहिए

    2. <html>...</html>

    The <html> tag is the parent tag for all HTML elements. Everything related to create an HTML document must be written inside the <html> tag. CSS, JavaScript, and jQuery must also be written inside this tag.                                                              यह सभी HTML तत्वों का मूल (Parent) टैग है। HTML दस्तावेज़ बनाने से संबंधित संपूर्ण कोड इस टैग के अंदर लिखा जाता है। CSS, JavaScript और jQuery को भी इसी टैग के अंदर लिखा जाता है।

    3. <head>...</head>

    The <head> tag is a container tag for all those elements that are not directly displayed on the webpage but required for the page functionalities. It contains meta tags (which are used for SEO purposes), title tag, script tags, etc.                                          यह उन सभी तत्वों का कंटेनर टैग है, जो सीधे वेबपेज पर प्रदर्शित नहीं होते, लेकिन पेज की कार्यक्षमता (Functionality) के लिए आवश्यक होते हैं। इसमें मेटा टैग (SEO के लिए), टाइटल टैग, स्क्रिप्ट टैग आदि होते हैं।

    4. <title>...</title>

    The <title> tag is used to define the title of the webpage that you can see in the browser's tab, bookmarks list, and search engine results. This tag is also very important for SEO purposes to help search engine to understand the content of the webpage.                                                                                                                       यह टैग वेबपेज के शीर्षक (Title) को परिभाषित करता है, जिसे आप ब्राउज़र के टैब, बुकमार्क सूची और सर्च इंजन परिणामों में देख सकते हैं। यह SEO के लिए बहुत महत्वपूर्ण है, क्योंकि यह सर्च इंजन को वेबपेज की सामग्री समझने में मदद करता है

    5. <body>...<body>

    The <body> tag is the container tag for all those elements, which represents the main content of a webpage that displays on the browser.                                                                   यह उन सभी तत्वों का कंटेनर टैग है, जो वेबपेज की मुख्य सामग्री को प्रदर्शित करते हैं।

    6. <h1>...</h1>

    The <h1> tag is one of the heading tags. It is the most important heading tag, which defines the main title or headline of the webpage. Any text written inside <h1> and </h1> is a top-level heading of the content.                                                                                           यह शीर्षक (Heading) टैगों में से एक है। यह सबसे महत्वपूर्ण शीर्षक टैग होता है, जो वेबपेज के मुख्य शीर्षक या हेडलाइन को परिभाषित करता है। <h1> और </h1> के बीच लिखा गया टेक्स्ट सामग्री का शीर्ष स्तर (Top-Level Heading) होता है।

    7. <p>...</p>

    The <p> tag defines a paragraph, anything written inside <p> and </p> displays as a paragraph on the webpage. Use multiple <p> tags to display text in different paragraphs.                                                                                                                                                     ह टैग एक पैराग्राफ को परिभाषित करता है<p> और </p> के बीच लिखा गया कोई भी टेक्स्ट वेबपेज पर पैराग्राफ के रूप में प्रदर्शित होता हैअलग-अलग पैराग्राफ दिखाने के लिए कई <p> टैग का उपयोग करें।

    Writing Hello World in HTML

    By using the above basic HTML structure, we can write an HTML document to display "Hello World" on the webpage.

    <!DOCTYPE html>

    <html>

    <head>

       <title>Hello World Example by TutorialsPoint</title>

    </head>

    <body>

       <h1>Hello, World!</h1>

    </body>

    </html>

    </pre>       Output:-


Saturday, March 8, 2025

March 08, 2025

Concept Of E-Mail & Web based Mail

 



ईमेल की अवधारणा Concept Of E-Mail

ईमेल (इलेक्ट्रॉनिक मेल) इलेक्ट्रॉनिक उपकरणों जैसे कंप्यूटर, स्मार्टफोन और टैबलेट का उपयोग करके लोगों के बीच डिजिटल संदेशों का आदान-प्रदान करने का एक तरीका है। यह इंटरनेट पर संचार के सबसे व्यापक रूप से उपयोग किए जाने वाले रूपों में से एक है।

आज ईमेल व्यक्तिगत और व्यावसायिक संचार के लिए सबसे व्यापक रूप से उपयोग किया जाने वाला मंच है।

Key Components of Email

  1. Sender – The person who sends the email. वह व्यक्ति जो ईमेल भेजता है।
  2. Recipient – The person who receives the email. वह व्यक्ति जो ईमेल भेजता है।
  3. Email Address – A unique identifier (e.g., example@gmail.com) used to send and receive emails.

 ईमेल भेजने और प्राप्त करने के लिए उपयोग किया जाने वाला एक अद्वितीय पहचानकर्ता (उदाहरण के लिए, example@gmail.com)

  1. Subject Line – A short description of the email's content. ईमेल की मुख्य सामग्री, जिसमें पाठ, चित्र और अनुलग्नक शामिल हो सकते हैं।
  2. Body – The main content of the email, which can include text, images, and attachments.

फ़ाइलें (उदाहरण के लिए, दस्तावेज़, चित्र) जिन्हें ईमेल के साथ भेजा जा सकता है।

  1. Attachments – Files (e.g., documents, images) that can be sent along with the email.
  2. CC & BCC
    • CC (Carbon Copy): Sends a copy of the email to additional recipients. अतिरिक्त प्राप्तकर्ताओं को ईमेल की एक प्रति भेजता है।
    • BCC (Blind Carbon Copy): Sends a copy without revealing recipients to others. दूसरों को प्राप्तकर्ताओं का खुलासा किए बिना एक प्रति भेजता है।

How Email Works

·  The sender composes an email using an email service (e.g., Gmail, Outlook).

·  The email is sent through an SMTP (Simple Mail Transfer Protocol) server.

·  The recipient's email provider (e.g., Yahoo Mail) receives the email through POP3 or IMAP.

·  The recipient accesses the email from their inbox.

प्रेषक किसी ईमेल सेवा (जैसे, जीमेल, आउटलुक) का उपयोग करके ईमेल लिखता है।

 ईमेल SMTP (सिंपल मेल ट्रांसफर प्रोटोकॉल) सर्वर के माध्यम से भेजा जाता है।

प्राप्तकर्ता का ईमेल प्रदाता (जैसे, याहू मेल) POP3 या IMAP के माध्यम से ईमेल प्राप्त करता है। प्राप्तकर्ता अपने इनबॉक्स से ईमेल एक्सेस करता है।

Advantages of Email

✅ Fast and convenient communication
✅ Can send text, images, and files
✅ Used for personal and professional purposes
✅ Cost-effective and eco-friendly

Common Email Providers

📧 Gmail (Google)
📧 Outlook (Microsoft)
📧 Yahoo Mail
📧 Apple Mail

ईमेल प्रोटोकॉल को इंटरनेट पर ईमेल के सुरक्षित प्रसारण के लिए नियमों के एक सेट के रूप में परिभाषित किया गया है। SMTP, IMAP, POP और POP3 कुछ ईमेल प्रोटोकॉल हैं। उपयोग किए जाने वाले प्रत्येक प्रकार के प्रोटोकॉल का एक विशिष्ट mechanism होता है। नीचे दिया गया लेख POP3 प्रोटोकॉल के बारे में विस्तार से बताता है।

POP का परिचय

POP का मतलब है पोस्ट ऑफिस प्रोटोकॉल। POP प्रोटोकॉल वर्ष 1984 में प्रकाशित हुआ था। POP को दो बार अपडेट किया गया है, जिसका नाम है "POP2" और "POP3"POP प्रोटोकॉल एक इंटरनेट स्टैंडर्ड प्रोटोकॉल है जो एप्लीकेशन लेयर पर काम करता है। इसका उपयोग मेल सर्वर से एक्सेस ईमेल प्राप्त करने के लिए किया जाता है। POP की आवश्यकता मुख्य रूप से तब होती है जब उपयोगकर्ता या क्लाइंट के पास निरंतर इंटरनेट कनेक्शन नहीं होता है और वह ईमेल संदेश प्राप्त करना चाहता है। पॉप क्लाइंट POP सर्वर से ईमेल संदेश खींचने के लिए POP का उपयोग करता है। POP3 POP का अपडेटेड वर्जन है।

POP (पोस्ट ऑफिस प्रोटोकॉल) एक मानक प्रोटोकॉल है जिसका उपयोग मेल सर्वर से स्थानीय डिवाइस (कंप्यूटर या फोन) पर ईमेल प्राप्त करने के लिए किया जाता है

How POP Email Works:

The email client (e.g., Outlook, Thunderbird) connects to the mail server.

Emails are downloaded to the local device.

Once downloaded, the emails are often deleted from the server (unless configured otherwise).

Advantages of POP Email:

Works offline after emails are downloaded.

Saves storage on the email server.

Faster access since emails are stored locally.

 

Disadvantages of POP Email:

❌ Emails may not be accessible from multiple devices.

❌ If not configured properly, emails can be lost when deleted from the server.

❌ Takes up local storage space.

 

Common Email Clients Using POP:

📩 Microsoft Outlook

📩 Mozilla Thunderbird

📩 Apple Mail

 

2. वेब-आधारित ईमेल(Web based Mail)

वेब-आधारित ईमेल उन ईमेल सेवाओं को दर्शाता  है जिन्हें वेब ब्राउज़र के माध्यम से एक्सेस किया जाता है, जैसे कि जीमेल, याहू मेल और आउटलुक डॉट कॉम।

 

Web based Mail कैसे काम करता है:

User वेब ब्राउज़र (क्रोम, फ़ायरफ़ॉक्स, आदि) के माध्यम से लॉग इन करते हैं।

ईमेल रिमोट सर्वर पर store होते हैं।

ईमेल को इंटरनेट एक्सेस वाले किसी भी डिवाइस से एक्सेस किया जा सकता है।

Web based Mail के लाभ:

इंटरनेट कनेक्शन के साथ कहीं से भी एक्सेस किया जा सकता है।

ईमेल क्लाइंट की instalation की आवश्यकता नहीं है।

ईमेल का बैकअप लिया जाता है और सर्वर पर store किया जाता है।

 

Web based Mail  के नुकसान:

ईमेल तक पहुँचने के लिए इंटरनेट कनेक्शन की आवश्यकता होती है।

provider के आधार पर limited storage

सार्वजनिक कंप्यूटर पर एक्सेस करने पर सेक्युर्टी रिस्क

 

Web based Mail ईमेल सेवाएँ:

🌐 Gmail (Google) – https://mail.google.com

🌐 Outlook.com (Microsoft) – https://outlook.live.com

🌐 Yahoo Mail – https://mail.yahoo.com

 

Difference Between POP3 and IMAP

POP3

IMAP

POP is a simple protocol that only allows downloading messages from your Inbox to your local computer.

IMAP (Internet Message Access Protocol) is much more advanced and allows the user to see all the folders on the mail server.

The POP server listens on port 110, and the POP with SSL secure (POP3DS) server listens on port 995

The IMAP server listens on port 143, and the IMAP with SSL secure (IMAPDS) server listens on port 993.

In POP3 the mail can only be accessed from a single device at a time.

Messages can be accessed across multiple devices.

To read the mail it has to be downloaded on the local system.

The mail content can be read partially before downloading

The user can not create, delete or rename email on the mail server.

The user can create, delete or rename an email on the mail server.