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.
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:
- Aap HTML code likhte ho
- Browser usko read karta hai
- 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 π
No comments:
Post a Comment