Coding with Sanjay Official

๐ŸŽฏ Welcome to Coding With Sanjay Official – CODING Seekhne Ki Pehli Seedhi Yahin Se Shuru Karein ๐Ÿ’ป

Frontend & Functionality

Java Script

Coming Soon๐Ÿ”’

Type Script

Coming Soon๐Ÿ”’
Showing posts with label HTML Tutorial. Show all posts
Showing posts with label HTML Tutorial. Show all posts

Monday, July 27, 2026

HTML Table Tag Tutorial: Step-by-Step Guide in Hindi

๐Ÿ”ฐ Introduction

Agar aap HTML Table banana seekh rahe hain, to sirf theory padhna kaafi nahi hai. Real coding examples ki practice karna bhi bahut zaroori hai. Is example me hum ek simple Product-Price Table banana seekhenge jisme products aur unki prices ko rows aur columns ki help se display kiya gaya hai. Isse aap <table>, <tr> aur <td> tags ka practical use aasani se samajh paenge.

๐Ÿ“ Description

Is example me humne ek simple HTML Table banayi hai jisme do products Laptop aur Mobile ke naam aur unki prices dikhai gayi hain. Browser me output ek clean aur well-organized Product-Price Table ke roop me dikhai dega, jisse information ko padhna aur compare karna bahut aasaan ho jata hai. Yeh example beginners ke liye HTML Table ka basic structure aur data ko rows aur columns me display karna sikhne ka ek behtareen practice example hai.

Agar aapne HTML Table ka theory article padh liya hai, to ab time hai ise practically samajhne ka ๐Ÿ’ช Practice ke bina coding complete nahi hoti.

HTML Table Rowspan and Colspan Tutorial Coding With Sanjay Official

๐Ÿ‘‰ Is tutorial me hum basic se lekar advanced tak HTML table banana step-by-step seekhenge ๐Ÿš€


๐Ÿ”ฐ Step 1: Basic Table Banana

Sabse pehle ek simple table banana seekhte hain.


<table border="1">
  <tr>
    <td>Hello World</td>
  </tr>
</table>
Output:
Hello World

Ek simple table dikhega jisme ek box hoga aur usme "Hello World" likha hoga.


๐Ÿ“Š Step 2: Rows aur Columns Add Karna

Ab hum multiple rows aur columns add karenge.


<table border="1">
  <tr>
    <td>HTML</td>
    <td>CSS</td>
  </tr>

  <tr>
    <td>JavaScript</td>
    <td>React</td>
  </tr>
</table>
Output:
HTML CSS
JavaScript React

Table me 2 rows aur 2 columns honge jisme technologies ke naam dikhenge.


๐Ÿงฉ Step 3: Heading Add Karna (<th>)

Table me heading add karne ke liye <th> tag use hota hai.


<table border="1">
  <tr>
    <th>Name</th>
    <th>Course</th>
    <th>Marks</th>
  </tr>

  <tr>
    <td>Sanjay</td>
    <td>HTML</td>
    <td>95</td>
  </tr>
</table>
Output:
Name Course Marks
Sanjay HTML 95

Table ke top me bold headings dikhenge aur neeche student ka data show hoga.


๐ŸŽจ Step 4: Table Styling (CSS)

Ab table ko thoda professional look dete hain.


<table style="border-collapse:collapse; width:100%;" border="1">
  <tr>
    <th>Product</th>
    <th>Price</th>
  </tr>

  <tr>
    <td>Mobile</td>
    <td>10000</td>
  </tr>
</table>
Output:
Product Price
Mobile 10000

Table full width me dikhega aur borders clean aur joined honge.


๐Ÿงฑ Step 5: Border Control Karna

Border ko CSS se bhi control kiya ja sakta hai.


<style>
table, th, td {
  border: 1px solid red;
}
</style>

<table>
  <tr>
    <td>Data</td>
  </tr>
</table>
Output:
Data

Table aur cells ke around red border dikhega.


๐Ÿ”„ Step 6: Colspan Use Karna

Column merge karne ke liye colspan use hota hai.


<table border="1">
  <tr>
    <th colspan="2">Student Info</th>
  </tr>

  <tr>
    <td>Name</td>
    <td>Sanjay</td>
  </tr>
</table>
Output:
Student Info
Name Sanjay

Heading 2 columns ke barabar width me dikhegi.


๐Ÿ”„ Step 7: Rowspan Use Karna

Row merge karne ke liye rowspan use hota hai.


<table border="1">
  <tr>
    <td rowspan="2">Sanjay</td>
    <td>HTML</td>
  </tr>

  <tr>
    <td>CSS</td>
  </tr>
</table>
Output:
Sanjay HTML
CSS

Ek cell vertically 2 rows tak stretch karega.


๐Ÿง‘‍๐Ÿ’ป Step 8: Real Table Project

Ab ek real-life example dekhte hain (price table).


<table border="1">
  <tr>
    <th>Product</th>
    <th>Price</th>
  </tr>

  <tr>
    <td>Laptop</td>
    <td>50000</td>
  </tr>

  <tr>
    <td>Mobile</td>
    <td>15000</td>
  </tr>
</table>
Output:
Product Price
Laptop 50000
Mobile 15000

Ek clean product-price table dikhega jisme products aur unki price list hogi.


๐Ÿ”— Helpful Links


๐ŸŽฏ Conclusion

๐Ÿ‘‰ Ab aapne HTML table ko practically seekh liya hai ๐Ÿ’ช ๐Ÿ‘‰ Ab next step hai: Practice Exercises solve karo aur MCQ quiz do ๐Ÿš€

๐Ÿ‘‰ Regular practice se hi aap expert banoge ๐Ÿ”ฅ


Monday, July 6, 2026

HTML Lists Tutorial (Step by Step Guide in Hinglish)

๐Ÿ“˜ Introduction

Agar aapne HTML Lists ki theory padh li hai, to ab unhe practically seekhne ka time hai. Is HTML Lists Tutorial me aap <ul> (Unordered List), <ol> (Ordered List), <dl> (Description List), Nested List, type attribute aur start attribute ko step-by-step examples ke saath seekhenge.

Har step me simple explanation, HTML code aur expected output diya gaya hai, jisse beginners bhi aasani se samajh saken aur khud practice kar saken. Is tutorial ka purpose sirf code dikhana nahi, balki ye batana hai ki kis situation me kaunsi HTML List use karni chahiye.

Is tutorial ko complete karne ke baad aap:

  • ✅ HTML Lists ke sabhi important types samajh jayenge.
  • ✅ Code ke saath practical implementation seekh lenge.
  • ✅ Nested Lists aur List attributes ka sahi use kar payenge.
  • ✅ Web pages me content ko clean, organized aur professional tarike se display karna seekh jayenge.

๐Ÿš€ Chaliye, ab HTML Lists Tutorial ko step by step shuru karte hain aur practical examples ke saath coding seekhte hain.

✨ Coding With Sanjay Official ke saath step by step web development seekhte rahiye. Happy Learning! ๐Ÿ˜Ž

HTML Lists Tutorial Step by Step Guide

Is tutorial me aap HTML Lists ko step-by-step seekhenge. Har step me short explanation, code aur output diya gaya hai.


๐Ÿ“Œ Step 1: Unordered List (ul)

Explanation:
Unordered list me items ke aage bullet points aate hain. Jab order important nahi hota tab iska use hota hai.

๐Ÿ’ป Code:


<ul>
  <li>Milk</li>
  <li>Bread</li>
  <li>Butter</li>
</ul>

๐Ÿ“ค Output:

• Milk
• Bread
• Butter

๐Ÿ“Œ Step 2: Ordered List (ol)

Explanation:
Ordered list me items number ya sequence me aate hain.

๐Ÿ’ป Code:


<ol>
  <li>Wake up</li>
  <li>Brush</li>
  <li>Breakfast</li>
</ol>

๐Ÿ“ค Output:

1. Wake up
2. Brush
3. Breakfast

๐Ÿ“Œ Step 3: Description List (dl)

Explanation:
Description list term aur uski detail batata hai.

๐Ÿ’ป Code:


<dl>
  <dt>HTML</dt>
  <dd>Hyper Text Markup Language</dd>
</dl>

๐Ÿ“ค Output:

HTML
→ Hyper Text Markup Language

๐Ÿ“Œ Step 4: Nested List

Explanation:
List ke andar ek aur list banana nested list kehlata hai.

๐Ÿ’ป Code:


<ul>
  <li>Fruits
    <ul>
      <li>Apple</li>
      <li>Banana</li>
    </ul>
  </li>
</ul>

๐Ÿ“ค Output:

• Fruits
  • Apple
  • Banana

๐Ÿ“Œ Step 5: Ordered List Type

Explanation:
Numbering style change ki ja sakti hai.

๐Ÿ’ป Code:


<ol type="A">
  <li>HTML</li>
  <li>CSS</li>
</ol>

๐Ÿ“ค Output:

A. HTML
B. CSS

๐Ÿ“Œ Step 6: Start Attribute

Explanation:
List ko kisi bhi number se start kar sakte hain.

๐Ÿ’ป Code:


<ol start="5">
  <li>Item 1</li>
  <li>Item 2</li>
</ol>

๐Ÿ“ค Output:

5. Item 1
6. Item 2

๐Ÿ“š Helpful HTML Tutorials

๐ŸŽฏ Conclusion

Ab aap HTML Lists ko practically samajh chuke hain. Har step ka code aur output dekh kar aap easily practice kar sakte hain.

Next: HTML list tag me strong pakad banane ke liye HTML Lists Practice Exercise (Basic to Advanced) bhi jarur dekhen

✨ Coding With Sanjay Official ke saath aap step by step web development seekh sakte ho. Happy Learning

Monday, June 8, 2026

HTML Text Formatting Tags Tutorial (Step by Step Guide)

Intrduction

Agar aapne HTML Text Formatting ka theory article padh liya hai, to ab time hai ise practically samajhne ka.

HTML Text Formatting Tags Tutorial for Beginners

๐Ÿ‘‰ Is tutorial me hum har formatting tag ko example aur output ke sath step-by-step seekhenge ๐Ÿš€


๐Ÿ”ฐ Step 1: Bold Text (<b> aur <strong>)

Bold text dikhane ke liye <b> aur <strong> tags use hote hain.


<b>This is Bold Text</b>
<strong>This is Important Text</strong>

๐Ÿ‘‰ Output:

This is Bold Text
This is Important Text

๐Ÿ”ฐ Step 2: Italic Text (<i> aur <em>)


<i>This is Italic</i>
<em>This is Emphasized</em>

๐Ÿ‘‰ Output:

This is Italic
This is Emphasized

๐Ÿ”ฐ Step 3: Highlight Text (<mark>)


<mark>This is Highlighted Text</mark>

๐Ÿ‘‰ Output:

This is Highlighted Text

๐Ÿ”ฐ Step 4: Small Text (<small>)


<small>This is Small Text</small>

๐Ÿ‘‰ Output:

This is Small Text

๐Ÿ”ฐ Step 5: Deleted Text (<del>)


<del>₹500</del>

๐Ÿ‘‰ Output:

₹500

๐Ÿ”ฐ Step 6: Inserted Text (<ins>)


<ins>New Price ₹300</ins>

๐Ÿ‘‰ Output:

New Price ₹300

๐Ÿ”ฐ Step 7: Subscript (<sub>)


H<sub>2</sub>O
CO<sub>2</sub>

๐Ÿ‘‰ Output:

H2O
CO2

๐Ÿ”ฐ Step 8: Superscript (<sup>)


X<sup>2</sup>
1<sup>st</sup>

๐Ÿ‘‰ Output:

X2
1st

๐Ÿ”ฐ Step 9: Multiple Formatting Combine Karna


<strong><em>Important Text</em></strong>

๐Ÿ‘‰ Output:

Important Text

๐Ÿ”ฐ Step 10: Real Paragraph Example


<p>
This is <strong>important</strong> text and 
<em>highlighted</em> content. 
Water formula is H<sub>2</sub>O and power is X<sup>2</sup>.
</p>

๐Ÿ‘‰ Output:

This is important text and highlighted content. Water formula is H2O and power is X2.


๐Ÿš€ Step 11: SEO Friendly Formatting

  • ๐Ÿ‘‰ Important keywords ke liye <strong> use karo
  • ๐Ÿ‘‰ Emphasis ke liye <em> use karo
  • ๐Ÿ‘‰ Over formatting avoid karo

๐Ÿ’ก Step 12: Best Practice Example


<p>
<strong>HTML</strong> ek markup language hai jo 
<em>web pages</em> banane ke liye use hoti hai.
</p>

๐Ÿ‘‰ Output:

HTML ek markup language hai jo web pages banane ke liye use hoti hai.


๐ŸŽฏ Conclusion

Ab aapne HTML text formatting ko practically seekh liya hai. Har tag ka use samajhkar aap apne content ko readable aur professional bana sakte ho.

Next: Ab apni skills strong karne ke liye HTML Text Formatting Practice Exercises jarur kare.

๐Ÿ‘‰ Practice hi aapko expert banati hai ๐Ÿš€

Monday, May 11, 2026

HTML Paragraph Tags in hinglish Step-by-Step Tutorial

๐Ÿ”ฐ Introduction

Agar aap HTML seekhna start kar rahe ho, to sabse pehle aapko paragraph tag samajhna chahiye. Ye ek basic tag hai jiska use website me text likhne ke liye hota hai.

๐Ÿ‘‰ Coding With Sanjay Official par hum aapko simple Hinglish me web development sikhate hain ๐Ÿš€


๐Ÿง  HTML Paragraph Tag Kya Hota Hai?

HTML me <p> tag ka use kisi bhi text ko paragraph ke form me dikhane ke liye hota hai.


<p>Yeh ek simple paragraph hai</p>


Output

Yeh ek simple paragraph hai

๐Ÿ‘‰ Jab bhi aap is tag ka use karte ho, browser automatically us text ko ek alag block me dikhata hai.


⚙️ Paragraph Tag Ka Simple Example


<p>Hello World</p>
<p>Yeh doosra paragraph hai</p>


Output

Hello World

Yeh doosra paragraph hai

๐Ÿ‘‰ Har paragraph apni alag line me show hota hai.


๐Ÿ”„ Paragraph New Line Kaise Kaam Karta Hai?

HTML me har <p> tag automatically ek new line se start hota hai. Isliye aapko manually line break dene ki zaroorat nahi hoti.


<p>First Line</p>
<p>Second Line</p>


Output

First Line

Second Line

๐Ÿ‘‰ Agar aap same paragraph ke andar line change karna chahte ho, to <br> tag use kar sakte ho aur neeche ek line kheechana chaho to <hr> tag use karo.


<p>Hello<br>World</p><hr>

Output

Hello
World



๐ŸŽจ Paragraph Ko Style Kaise Kare?

Aap CSS ke through paragraph ka color, size aur spacing change kar sakte ho.

Text Color Change


<p style="color:blue;">Yeh blue color ka text hai</p>


Output

Yeh blue color ka text hai

Font Size Change


<p style="font-size:20px;">Yeh bada text hai</p>


Output

Yeh bada text hai

Background Color


<p style="background-color:red;">Background color example</p>


Output

Background color example


๐Ÿ“ Paragraph Spacing Kaise Set Kare?

Spacing control karne ke liye aap margin ka use kar sakte ho:


<p style="margin:30px;">Spacing example</p>


Output

Spacing example

๐Ÿ‘‰ Isse paragraph ke around space create hota hai.


๐Ÿ“‹ Paragraph ke Saath List Use Karna

Paragraph ke baad aap list bhi add kar sakte ho:


<p>Popular languages:</p>
<ul>
  <li>HTML</li>
  <li>CSS</li>
  <li>JavaScript</li>
</ul>


Output

Popular languages:

  • HTML
  • CSS
  • JavaScript

⚠️ Common Mistakes

  • ❌ Closing tag bhool jana
  • ❌ Bahut zyada <br> use karna
  • ❌ Inline style ka galat use

๐ŸŽฏ Conclusion

HTML paragraph tag ek simple lekin powerful tool hai jo aapko text ko properly structure karne me help karta hai.

๐Ÿ‘‰ Regular practice ke sath aap isko easily master kar sakte ho ๐Ÿ’ช

๐Ÿ‘‰Paragraph tags in html me achchhi pakad banane ke liye next article HTML Paragraph tags Practice Exersise jarur kare.

๐Ÿ‘‰ Aur aise hi simple tutorials ke liye visit karte raho Coding With Sanjay Official ๐Ÿš€


๐Ÿ”— Helpful Links

Tuesday, April 14, 2026

HTML Heading Tag Tutorial (Step by Step Guide)

Agar aapne HTML Heading Tag ka article padh liya hai, to ab time hai ise practically samajhne ka.

๐Ÿ‘‰ Coding With Sanjay Official par hum aapko real examples ke sath coding sikhate hain ๐Ÿš€


๐Ÿ”ฐ Step 1: Basic Heading Samjho

HTML me heading tag ka use titles aur headings likhne ke liye hota hai.


<h1>This is Main Heading</h1>
<h2>This is Sub Heading</h2>
<h3>This is Small Heading</h3>

๐Ÿ‘‰ Output:

This is Main Heading

This is Sub Heading

This is Small Heading


๐Ÿ“Š Step 2: All Heading Tags (h1 to h6)

HTML me total 6 heading tags hote hain:


<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

๐Ÿ‘‰ Output:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

๐Ÿ“ Step 3: Proper Structure (Hierarchy)

Heading ko hamesha order me use karo:


<h1>Website Title</h1>
<h2>Section</h2>
<h3>Sub Section</h3>

๐Ÿ‘‰ Output:

Website Title

Section

Sub Section

๐Ÿ‘‰ Isse content clean aur professional lagta hai.


⚠️ Step 4: Galat Structure (Avoid Karo)


<h1>Title</h1>
<h4>Direct Jump</h4>

๐Ÿ‘‰ Ye galat hai kyunki aapne h2, h3 skip kar diya ❌


๐ŸŽจ Step 5: CSS Se Heading Style Karna

Aap heading ka design change kar sakte ho:


<h1 style="color:green;">Green Heading</h1>
<h2 style="text-align:center;">Center Heading</h2>

๐Ÿ‘‰ Output:

Green Heading

Center Heading


๐Ÿง‘‍๐Ÿ’ป Step 6: Real Blog Example

Ek blog post me headings ka use is tarah hota hai:


<h1>HTML Tutorial</h1>

<h2>Introduction</h2>
<p>HTML ek markup language hai</p>

<h2>Heading Tag</h2>
<h3>Definition</h3>
<p>Heading tag ka use title ke liye hota hai</p>

Output

HTML Tutorial

Introduction

HTML ek markup language hai

Heading Tag

Definition

Heading tag ka use title ke liye hota hai


๐Ÿš€ Step 7: SEO Friendly Heading Use

  • ๐Ÿ‘‰ <h1> me main keyword use karo
  • ๐Ÿ‘‰ <h2> me sub topics likho
  • ๐Ÿ‘‰ <h3> me details likho

๐Ÿ‘‰ Isse Google aapka content easily samajhta hai ๐Ÿ“ˆ


๐Ÿ’ก Step 8: Best Practices

  • ✔ Ek hi <h1> use karo
  • ✔ Proper order follow karo
  • ✔ Simple headings likho
  • ✔ User friendly content banao

๐Ÿ”— Internal Links

๐Ÿ‘‰ HTML kya hai
๐Ÿ‘‰ All HTML Articles


๐ŸŽฏ Conclusion

Next:Ab aap HTML heading tag ko basic se advanced level tak samajh gaye ho, ab is knowledge ko strong karne ke liye HTML Heading Tag Practice bhi jarur kare.

๐Ÿ‘‰ Practice karte raho aur next topics seekhte raho ๐Ÿš€

๐Ÿ‘‰ Aur aise hi tutorials ke liye visit karte raho Coding With Sanjay Official ๐Ÿ’ป

Sunday, April 5, 2026

HTML Tags Tutorial (Step-by-Step Guide for Beginners)

๐Ÿ”ฐ Step 1: HTML Tags Kyu Zaroori Hain?

Jab aap koi website open karte ho, to aapko text, image, button, link sab kuch properly dikhai deta hai.
Ye sab possible hota hai HTML tags ki wajah se.

๐Ÿ‘‰ Simple samjho:
HTML tags = Website banane ke tools ๐Ÿ› ️

Agar tags nahi honge to browser ko samajh hi nahi aayega ki kya dikhana hai.


๐Ÿง  Step 2: Basic Structure Samjho

Sabse pehle ek simple HTML page ka structure dekhte hain:


<!DOCTYPE html>
<html>
<head>
  <title>My First Page</title>
</head>
<body>

  <h1>Hello World</h1>
  <p>This is my first website</p>

</body>
</html>

  • <html> → pura page
  • <head> → settings
  • <body> → jo user dekhta hai

⚙️ Step 3: Sabse Important Tags Sikho

1️⃣ Heading Tag


<h1>Welcome</h1>

๐Ÿ‘‰ Title aur headings ke liye

Output

Welcome

2️⃣ Paragraph Tag


<p>This is a paragraph</p>

๐Ÿ‘‰ Normal text ke liye

Output

This is a paragraph

3️⃣ Link Tag


<a href="https://google.com">Go to Google</a>

๐Ÿ‘‰ Dusre page pe jane ke liye

Output

4️⃣ Image Tag


<img src="image.jpg" alt="HTML tutorial image">

Output

learning coding

๐Ÿ‘‰ Image show karne ke liye


๐Ÿ”„ Step 4: Practice Karke Samjho

Ab ek chhota sa example try karo:


<h1>My Website</h1>
<p>Mujhe HTML seekhna pasand hai</p>
<br>
<a href="https://google.com">Search Here</a>
<hr>
<img src="https://picsum.photos/300" alt="HTML Tutorial image">

๐Ÿ‘‰ Isko copy karo aur apne browser me run karo


Output

My Website

Mujhe HTML seekhna pasand hai


Search Here
HTML Tutorial image

๐Ÿ“‹ Step 5: List Tag Example

๐Ÿ‘‰ HTML me list banana bahut easy hai:



<h3>Unordered List</h3>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
</ul>

<h3>Ordered List</h3>
<ol>
<li>Step 1: HTML</li>
<li>Step 2: CSS</li>
<li>Step 3: JavaScript</li>
</ol>

Output

Unordered List

  • HTML
  • CSS
  • JavaScript

Ordered List

  1. Step 1: HTML
  2. Step 2: CSS
  3. Step 3: JavaScript

๐Ÿงช Step 6: Form Tag Example

๐Ÿ‘‰ User input lene ke liye form use hota hai:

jaise:



<form>
  <label>Name:</label><br>
  <input type="text" placeholder="Enter your name"><br><br>

  <label>Email:</label><br>
  <input type="email" placeholder="Enter your email"><br><br>

  <label>Password:</label><br>
  <input type="password" placeholder="Enter password"><br><br>

  <button type="submit">Submit</button>
</form>


Output











⚠️ Step 7: Common Mistakes Avoid Karo

  • ❌ Tag close karna bhool jana
  • ❌ Galat spelling likhna
  • ❌ Tags ko ulta-seedha use karna

๐Ÿ‘‰ Example (Galat):

<p>Hello<h1>

๐Ÿ‘‰ Example (Sahi):

<p>Hello</p>
<h1>Heading</h1>

๐Ÿš€ Step 8: Next Kya Kare?

  • ๐Ÿ‘‰ Advanced HTML seekh sakte ho
  • ๐Ÿ‘‰ CSS start kar sakte ho
  • ๐Ÿ‘‰ Apni website banana start kar sakte ho

๐ŸŽฏ Conclusion

HTML tags web development ka sabse basic aur important part hain.
Inhe samajhkar aap apni coding journey strong bana sakte ho.

๐Ÿ‘‰ Regular practice karo aur dheere-dheere expert ban jao ๐Ÿ’ช


๐Ÿ‘‰Agar aapne HTML tags tutorial achchhe se padh liya hai to ab next step HTML Tags practice exercisespadhe

๐Ÿ‘‰HTML tag ki deep theory padhane ke liye HTML tag kya haiarticle padhe.

๐Ÿ”— Helpful Links

๐Ÿ‘‰ HTML kya hai (Full Article)
๐Ÿ‘‰ HTML Practice Exercises


✨ Coding With Sanjay Official ke saath aap step by step web development seekh sakte ho. Happy Learning ๐Ÿ˜Ž

Thursday, April 2, 2026

HTML kya hai? (Step-by-Step Tutorial in Hinglish)

Introduction

Agar aap web development seekhna chahte hain aur apni khud ki website banana chahte hain, to sabse pehla step HTML seekhna hota hai. HTML (HyperText Markup Language) ek basic markup language hai jo kisi bhi webpage ka structure banati hai.

HTML Basic Tutorial infographic for beginners

Is article me aap HTML ke basic concepts ko step by step samjhenge. Yahan aap seekhenge ki HTML kya hota hai, HTML ka use kahan hota hai, basic HTML structure kaise banaya jata hai aur important HTML tags kaise kaam karte hain.

Is tutorial me aap kya seekhenge:

  • HTML document ka basic structure
  • <!DOCTYPE html>, html, head aur body tag ka use
  • Title, heading aur paragraph add karna
  • HTML tags kya hote hain
  • Link, image aur list banana
  • Browser HTML code ko kaise read karta hai
  • HTML, CSS aur JavaScript ka relation
  • Beginner practice aur useful tips

Ye tutorial beginners ke liye banaya gaya hai jisse bina kisi confusion ke HTML ki foundation strong ki ja sake. Agar aap coding ki duniya me naye hain, to is guide ke through aap apna pehla webpage banana start kar sakte hain.

HTML website development ki foundation hai:
HTML = Structure
CSS = Design
JavaScript = Function

Chaliye HTML seekhne ki journey step by step start karte hain aur coding skills ko improve karte hain ๐Ÿš€

๐Ÿ”ฐ Step 1: HTML kya hota hai?

HTML ka full form HyperText Markup Language hota hai.
Ye ek markup language hai jo webpage ka structure banati hai.

๐Ÿ‘‰ Simple samjho:
HTML = Website ka skeleton (dhacha)


๐Ÿ”ฐ Step 2: HTML ka use kahan hota hai?

  • Webpage create karna
  • Heading aur paragraph likhna
  • Images add karna
  • Links banana
  • Forms banana (Login, Signup)

HTML Basic Tutorial

Is tutorial me hum ek simple HTML page banana seekhenge.

Step 1: Basic structure

yaha ek container hai big box


<!DOCTYPE html>
<html>
</html>

Step 2: Head add karna

Ye ek chota box hai jo html ke andar rakha jata hai, isame content ki setting ki jati hai aur isame dala hua content user ko nahi dikhata


  <head>
  </head>
  

Step 3: Body add karna

Ye bhi ek chota box hai jo html ke andar dala jata hai, isame content likhate hain jo user ko dikhata hai.


<body>
</body>

Step 4: Title add karna

Ye head ke andar dala jata hai, isame page ka name dete hai, jo tab me dikhata hai


  <title >
  </title >
  

Step 5: Heading aur paragraph tag add karna

Ye body ke andar dale jate hain, inase content ke main points aur summary ko proper structure dete hai.


<h1>Coding with Sanjay</h1>
<p>Ye mera pehla page hai</p>

Final Code:

  
<!DOCTYPE html>
<html>
<head>
<title>
Coding with sanjay official
</title>
</head>
<body>
<h1>Coding with Sanjay</h1>
<p>Ye mera pehla page hai</p>
</body>
</html>

Output:

Coding with Sanjay

Ye mera pehla page hai

Short Summary:

๐Ÿ”ฐ Step 3: HTML ka basic structure samjho


<!DOCTYPE html>
<html>
<head>
    <title>My First Page</title>
</head>
<body>

    <h1>Hello World</h1>
    <p>Yeh mera pehla webpage hai</p>

</body>
</html>

๐Ÿง  Explanation:

  • <!DOCTYPE html> → HTML5 batata hai
  • <html> → Pure page ka container
  • <head> → Page ki information
  • <body> → Jo user ko dikhega

๐Ÿ”ฐ Step 4: HTML tags kya hote hain?


<p>Hello</p>

๐Ÿ‘‰ Samjho:

  • <p> → Opening tag
  • </p> → Closing tag

⚠️ Note: Kuch tags self-closing hote hain


<img src="image.jpg">
<br>


๐Ÿ”ฐ Step 5: Important HTML tags

๐Ÿ”น Heading


<h1>Sabse bada heading</h1>
<h6>Sabse chhota heading</h6>

๐Ÿ”น Paragraph


<p>Yeh ek paragraph hai</p>

๐Ÿ”น Link


<a href="https://google.com">Click karo</a>

๐Ÿ”น Image


<img src="photo.jpg" alt="image">

๐Ÿ”น List


<ul>
  <li>Item 1</li>
  <li>Item 2</li>
</ul>


๐Ÿ”ฐ Step 6: HTML kaise kaam karta hai?

Process samjho:

  1. Aap HTML code likhte ho
  2. Browser usko read karta hai
  3. Webpage display hota hai

๐Ÿ‘‰ Isko Rendering kehte hain


๐Ÿ”ฐ Step 7: HTML + CSS + JavaScript

  • HTML → Structure
  • CSS → Design
  • JavaScript → Function

๐Ÿ‘‰ Example:
Ghar = Structure + Decoration + Function


๐Ÿ”ฐ Step 8: Practice

๐Ÿ‘‰ Apna pehla webpage banao:


<!DOCTYPE html>
<html>
<head>
    <title>My Practice</title>
</head>
<body>

    <h1>Mera Pehla Page</h1>
    <p>Main HTML seekh raha hu</p>

</body>
</html>


๐Ÿ”ฐ Step 9: Beginner Tips

  • Roz practice karo
  • Khud code likho
  • Chhote projects banao
  • VS Code ya Blogger use karo

๐Ÿ”ฐ Conclusion

HTML ek basic aur important language hai jo har website ki foundation hoti hai.

๐Ÿ‘‰ Yaad rakho:

  • HTML = Structure
  • CSS = Design
  • JavaScript = Function

Agar aap HTML seekh lete ho, to aap web development start kar sakte ho aur apni website bana sakte ho.


๐ŸŽฏ HTML Next Topic to Read

๐Ÿ‘‰ “Agar aap beginner ho to pehle HTML kya hai (Full Article) padhe”.


๐Ÿ‘‰ “Seekhne ke baad apni knowledge test karne ke liye HTML Practice Exercise kare”.


✨ Coding With Sanjay Official ke saath aap step by step web development seekh sakte ho. Happy Learning ๐Ÿ˜Ž