HTML Structure in Hindi
HTML Structure
HTML Structure का मतलब होता है web page की basic layout। इसमें कुछ जरूरी tags होते हैं जो हर HTML document में होते हैं।
सबसे पहले <!DOCTYPE html> लिखा जाता है। यह browser को बताता है कि यह HTML5 document है। इससे browser सही तरीके से page को समझ पाता है।
इसके बाद <html> tag शुरू होता है। यह पूरे web page का container होता है। HTML का पूरा content इसी tag के अंदर रखा जाता है।
HTML में दो main parts होते हैं – <head> और <body. <head> tag में meta information होती है जैसे title, character set और stylesheet links.
<title> tag head के अंदर होता है। यह browser tab में website का नाम दिखाने के लिए use किया जाता है।
<body> tag में वो सब content आता है जो user को screen पर दिखता है। जैसे headings, paragraphs, images और links.
Example के लिए एक simple HTML structure कुछ ऐसा होता है:
HTML Structure सही होना बहुत जरूरी है ताकि browser page को properly display कर सके। गलत structure से page में errors आ सकते हैं।
हर HTML document इसी basic structure से शुरू होता है। इसके बाद आप जरूरत के हिसाब से और tags जोड़ सकते हो।
Request
Leave a Comment
INITIALIZING...
INITIALIZING...
Comments Total: 0 comments