- Introduction to meta tag in Hindi
- Syntax of meta tag in Hindi
- Attributes of meta tag in Hindi
Introduction to HTML Meta Tag
html मे <meta> tag के द्वारा meta-data को represent किया जाता है। <meta> tag का काम होता है आपके web page का information देना अगर simple language में कहें तो <meta> tag HTML document के बारे में information provide करता है।
html मे <meta> tag का content या code web page में दिखाई नहीं देता है। Meta-data को सिर्फ browsers और search engines द्वारा use किया जाता है। <meta> tags के माध्यम से ही search engines और browsers web page के बारे में जानकारी प्रदान करते है।
उदाहरण के लिए आप google का search engine ले लीजिये क्योकि google का search engine हमे meta data के द्वारा ही result show करता है | जो हम search करते है |
html मे <meta> tag Search Engine Optimization (SEO) के लिए बहुत ही महत्वपूर्ण होता है। हमेसा <meta> tag को <head> tag के अन्दर लिखा जाता है |
Syntax of Meta Tag
<meta> tag एक open source tag है इसके लिए अलग से closing tag create करने की जरुरत नही है अब <meta> tag का syntax निचे दिया जा रहा है।
<meta attribute=”value”>
Attributes of Meta Tag
<meta> tag attributes के बारे मे निचे details से समझाया गया है इसे आप अच्छे से read करे क्योकि <meta> tag का use Search Engine Optimization (SEO) के लिए होता है |
Charset Attribute
इस attribute द्वारा html document की character encoding define की जाती है। for example utf-8 अब निचे दिये गये code को देखे |
<meta charset="UTF-8">
Content Attribute
Content attribute के द्वारा name और http-equiv attributes की value define की जाती है अब निचे दिये गये code को देखे |
<meta content='hi_IN' http-equiv='Content-Language'/>
HTTP-equiv Attribute
Http-equiv विशेषता सामग्री की जानकारी / मूल्य के लिए एक HTTP हेडर प्रदान करती है। HTTP-equiv विशेषता का उपयोग HTTP प्रतिसाद शीर्ष लेख का अनुकरण करने के लिए किया जा सकता है।
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Name Attribute
name attribute द्वारा meta-data का नाम define किया जाता है। जैसे application-name, author, description, viewport, keyword हो सकती है।
<!DOCTYPE html> <html> <head> <title>Easy Hindi Tutorials</title> <meta name="description" content="your description"> <meta name="keyword" content="your keyword"> <meta name="author" content="Easy Hindi Tutorials"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> </body> </html>
HTML Icons | HTML Script Tag |
Previous | Next |
---|