HTML Kya Hota Hai ? !! What is HTML ?

HTML, yaani “Hypertext Markup Language,” ek markup language hai jo web pages ko design aur structure karne ke liye use hota hai. HTML, web browsers ko samajhne mein madad karta hai ki ek webpage kaise dikhni chahiye. Har webpage HTML code se bana hota hai.

Yeh ek markup language hai iska matlab hai ki isme text ko mark karna hota hai taki browser samajh sake ki kis tarah ka content dikhana hai. HTML mein tags ka use hota hai, jise angle brackets (<>) mein likha jata hai. Har tag ek specific task ko define karta hai.

Kuch common HTML tags hain:

  1. <html>: Web page ke shuruat aur ant ko define karta hai.
  2. <head>: Web page ke metadata jaise title, stylesheets, ya scripts ko define karta hai.
  3. <body>: Web page ka actual content yahaan hota hai.
  4. <h1>, <h2>, …, <h6>: Headings ko define karte hain, jahan <h1> sabse bada heading hota hai aur <h6> sabse chhota.
  5. <p>: Paragraphs ko define karta hai.
  6. <a>: Links ko create karte hai.
  7. <img>: Images ko display karne ke liye use hota hai.
  8. <ul>, <ol>, <li>: Unordered lists (bulleted lists) aur ordered lists (numbered lists) ke liye use hote hain.
  9. <div>, <span>: Block-level aur inline elements ko define karte hain, jo layout ke liye important hote hain.
  10. <table>, <tr>, <td>: Tables ko create karne ke liye use hote hain.

HTML ke sath-sath, CSS (Cascading Style Sheets) ka bhi use hota hai jo webpage ko style dene ke liye hota hai, aur JavaScript ka use interactivity aur dynamic content add karne ke liye hota hai. Ye teeno (HTML, CSS, aur JavaScript) milke modern web development ka foundation banate hain.

error: Content is protected !!