Question :- What is Meta Data
Tag ? Explain .
Answer :-
What
is Meta Data :-
html मे
<meta> tag के द्वारा meta-data को represent किया जाता है | <meta> tag HTML document के बारे मे information provide करता है । Meta Tag के Content Webpage eमे Show नहीं होते है यह सिर्फ Z Browser और Search engine use करते है S A
उदाहरण के लिए आप google का search
engine ले लीजिये क्यूंकी google का search engine हमे meta data के द्वारा ही result show करता है | जो हम search करते है |
Meta Data एक Webpage के बारे मे जानकारी होती है जिससे Search Engine के लिए लिखा जाता है A Meta Data मे a Document Title , Description , Keywords
,Author information आदि को सम्मिलित किया जाता है A हमेशा <meta> tag को <head> Tag के अंदर लिखा जाता है A
Attributes of Meta Tag:-
1- Charset Attribute
2- Content Attribute
3- HTTP-equiv Attribute
4- Name Attribute
1- Charset
Attribute
charset – इसका पूरा नाम Character Setting इस Attribute द्वारा HTML Document की Character Encoding को Define किया जाता है . अगर आप Encoding Define नहीं करते है तो Browser
Default Encoding को इस्तेमाल करता है . UTF – ( Unicode Transformation Format)
<meta charset="UTF-8">
2- Content Attribute
Content Attribute के द्वारा name और http- equiv attribute की Value Define की जाती है
<meta name="description"content="my name is gk">
3-
HTTP-equiv
Attribute :-
Http-equiv का प्रोयोग हम Refresh modeको s Set करने की लिए करते है A
<meta http-equiv="refresh"content="15">
4-
Name Attribute :-
Name Attribute द्वारा Meta –date का नाम Define किया जाता है A जैसेs& application-name, author, description ,viewport, keyword
हो सकती है a
Example Coding :-
<meta name="description" content="Free
Web tutorials">
<meta name="keywords" content="HTML,
CSS, JavaScript">
<meta name="author" content="John
Doe">
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
1-Description –
Description Meta Data Define करने के लिए Meta Tag मे name Attribute की Value description है , और content Attribute द्वारा Description को Define किया जाता है इसे हम Website का Summry भी कह सकते है |जिसे 150 Word मे ही Define किया जाता है A
Description Area
2-Keywords –
इसके द्वारा Web designer अपने Website का Keywords Defineकरता है जिसके द्वारा कोई भी user easily उसे Search कर सकता है A
Keywords Text
3-Author - इसके द्वारा Web designe अपने s Website का Author
name भी Define कर सकता है A
4- Viewport – Viewport Define करने के लिए Meta Tag मे name Attribute की वैल्यू Value viewport है , और content Attribute द्वारा Viewport को Define किया गया है जिसमे width को device-width Set किया गया है ताकि हमारी वैबसाइट जिस उपकरण मे खुल रही है अपने आप को उसी की width के अनुसार adjust हो जाए ।
No comments:
Post a Comment