🟢 Foundation  ·  Lesson 01

Introduction to HTML

HTML का परिचय

What is HTML?

HTML (HyperText Markup Language) is the language that gives a web page its structure and content — the headings, paragraphs, images, links, tables and forms you see on every website. It is not a "programming" language (no logic, no calculations); it is a markup language: it marks up text to tell the browser "this is a heading", "this is a paragraph", "this is an image".

Every single website you have ever opened — Google, YouTube, your school's website — sends HTML to your browser. The browser reads that HTML and paints the page. Press Ctrl+U on any website right now and you will see its HTML with your own eyes.

The House Analogy (remember this forever)

A website is like a house built by three workers:

LanguageRole in the houseWhat it controls
HTMLBricks and walls (structure)What is ON the page
CSSPaint and decorationHow it LOOKS
JavaScriptElectricity and switchesWhat it DOES on click

Without walls, there is nothing to paint and nowhere to fit switches. That is why HTML is always learned first — CSS and JavaScript both work ON TOP of HTML.

Your First Look at HTML

<h1>Welcome to My School</h1>
<p>Alpine Public School is located in Khurja.</p>
<img src="school.jpg" alt="School building">
<a href="admission.html">Apply for Admission</a>
Welcome to My School (big bold heading) Alpine Public School is located in Khurja. (normal paragraph) [school photo appears] Apply for Admission (blue clickable link)

Read the code like English: <h1> = heading 1, <p> = paragraph, <img> = image, <a> = anchor (link). Tags are instructions wrapped in angle brackets — the browser follows them and shows the result. You already understand 4 tags without studying anything!

HTML Versions — one line of history

VersionYearNote
HTML 1.0 – 4.011991–1999The early web
XHTML2000Strict rules phase
HTML52014 → todayCurrent standard: video, audio, semantic tags, canvas
Exam/Interview line: "HTML was created by Tim Berners-Lee in 1991; the current version is HTML5, maintained as a living standard." Full form: HyperText Markup Language — HyperText means text with links that can jump to other pages.

Why Learn HTML First?

  • Every web career starts here: frontend, backend, WordPress, SEO, blogging — all touch HTML daily.
  • Easiest first win: you can build a visible page within 10 minutes of starting (next chapter!).
  • No installation needed: Notepad + browser is enough — both already on your computer.
  • Foundation for CSS and JavaScript: both languages select and act on HTML elements, so weak HTML = weak everything.

HTML क्या है?

HTML (HyperText Markup Language) वह language है जो web page को उसकी structure और content देती है — headings, paragraphs, images, links, tables और forms जो आप हर website पर देखते हैं. यह "programming" language नहीं है (न logic, न calculations); यह markup language है: यह text को mark करती है ताकि browser को पता चले "यह heading है", "यह paragraph है", "यह image है".

आज तक आपने जो भी website खोली है — Google, YouTube, आपके school की website — सब browser को HTML भेजती हैं. Browser वह HTML पढ़कर page बनाता है. अभी किसी भी website पर Ctrl+U दबाइए और उसका HTML अपनी आंखों से देखिए.

घर वाली Analogy (हमेशा याद रहेगी)

Website एक घर है जिसे तीन कारीगर बनाते हैं:

Languageघर में roleक्या control करती है
HTMLईंटें और दीवारें (structure)Page पर क्या HAI
CSSPaint और सजावटकैसा DIKHTA है
JavaScriptबिजली और switchesClick पर क्या KARTA है

दीवारें नहीं तो paint किस पर होगा और switch कहां लगेगा? इसीलिए HTML हमेशा सबसे पहले सीखा जाता है — CSS और JavaScript दोनों HTML के ऊपर काम करते हैं.

HTML की पहली झलक

<h1>Welcome to My School</h1>
<p>Alpine Public School is located in Khurja.</p>
<img src="school.jpg" alt="School building">
<a href="admission.html">Apply for Admission</a>
Welcome to My School (बड़ी bold heading) Alpine Public School is located in Khurja. (normal paragraph) [school की photo दिखती है] Apply for Admission (नीला clickable link)

Code को English की तरह पढ़िए: <h1> = heading 1, <p> = paragraph, <img> = image, <a> = anchor (link). Tags angle brackets में लिपटे निर्देश हैं — browser उन्हें मानकर result दिखाता है. बिना कुछ पढ़े आपको 4 tags पहले से समझ आ गए!

HTML Versions — एक line का इतिहास

VersionसालNote
HTML 1.0 – 4.011991–1999शुरुआती web
XHTML2000सख्त rules वाला दौर
HTML52014 → आजCurrent standard: video, audio, semantic tags, canvas
Exam/Interview line: "HTML को Tim Berners-Lee ने 1991 में बनाया; current version HTML5 है, जो living standard के रूप में maintain होता है." Full form: HyperText Markup Language — HyperText मतलब ऐसा text जिसमें links हों जो दूसरे pages पर ले जाएं.

सबसे पहले HTML क्यों?

  • हर web career यहीं से शुरू: frontend, backend, WordPress, SEO, blogging — सबमें रोज़ HTML छूता है.
  • सबसे आसान पहली जीत: शुरू करने के 10 minute में दिखने वाला page बन जाता है (अगला chapter!).
  • कोई installation नहीं: Notepad + browser काफी है — दोनों आपके computer में पहले से हैं.
  • CSS और JavaScript की नींव: दोनों languages HTML elements को ही select करके काम करती हैं, तो कमज़ोर HTML = सब कमज़ोर.
← Back to HTML Tutorial
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

💻 Live Code Editor

इस पेज का code यहाँ तैयार है — बदलिए और तुरंत नतीजा देखिए. कुछ install किए बिना.
👁 Live Preview
सब कुछ आपके browser में ही चलता है — कोई server, कोई signup नहीं. JavaScript का console.log देखने के लिए F12 दबाइए.