Introduction to HTML
HTML (HyperText Markup Language) ek standard markup language hai jiska use web pages banane ke liye kiya jata hai. HTML webpage ka structure define karta hai jaise headings, paragraphs, images, links, tables aur forms.
What is HTML?
HTML browser ko batata hai ki webpage par content kis order me aur kis format me dikhana hai. Ye programming language nahi balki ek Markup Language hai.
Key Points
- HTML ka full form HyperText Markup Language hai.
- Ye har website ki foundation hoti hai.
- HTML webpage ka structure banata hai.
- CSS webpage ko design karta hai.
- JavaScript webpage ko interactive banata hai.
Basic HTML Example
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Welcome to BobbyTheCoder</h1>
<p>This is my first HTML page.</p>
</body>
</html>
Explanation
- <!DOCTYPE html> HTML5 document ko define karta hai.
- <html> pure webpage ka root element hota hai.
- <head> webpage ki information rakhta hai.
- <title> browser tab me title show karta hai.
- <body> user ko visible content dikhata hai.
Real Life Example
Jaise kisi ghar ko banane se pehle uska structure tayyar kiya jata hai, waise hi website banane ke liye sabse pehle HTML ka structure banaya jata hai.
Common Mistakes
- HTML ko programming language samajhna.
- Closing tags bhool jana.
- Improper nesting karna.
- DOCTYPE ko remove kar dena.
Pro Tip 💡
Professional developers hamesha Semantic HTML ka use karte hain jisse SEO aur Accessibility dono improve hote hain.
Summary
- HTML website ka structure banata hai.
- Ye Markup Language hai.
- HTML + CSS + JavaScript milkar complete website banate hain.