HTML TUTORIAL:META TAGS


HTML TUTORIAL IN HINDI

HTML TUTORIAL:META TAGS

  • Introduction of meta tag
  • Importance of meta tag
  • Syntax of meta tag
  • Attribute of meta tag

INTRODUCTION OF META TAG

<meta> tag ki madat se  apni  HTML document ki sari jankari provide hoti hai. hamne jo HTML document banaya hai uske author name, keyword, description, character set, last modified etc sabhi ki jankari meta dwara hota hai.

<meta> tag internal me hi use hote hai yani isse web browser aur Search Engines hi padh sakte hai. Koi user site ke bare me search engine pe search karta hai to meta tag ki madat se display hota hai magar meta tag user koi display nahi hota.

Agar aapke pass Blog or Website hai to meta tag ko mahtwa samajh sakte hai, isse site ki ranking, content index, SEO me madat aur bhi bhut.
<meta> tag me apni HTML document ki jankari achi tara se likhe.

<meta> tag kuch aisi jankari provide karti hai.

  • DESCRIPTION:<meta> tag aapki site webpage ke liye ek description provide karti hai. Webpage me jo description likhenge wahi search engine me show hoga.
  • KEYWORDS:Keywords kya hai? jakar padh sakte hai. keywords ek site aur uski webpages ke liye bhut jaruri hota hai. agar aapne apne site pe koi particular topic pe post likha aur usme achi keyword ko use karke to aapki page search engine me jaldi rank rahegi.
  • LAST MODIFIED:Apne webpage ko behtar bnane ke liye naye-naye updates karna bhut jaruri hai. Iske sath aapne apni webpage ki last modified kab ki hai wo jankari meta tags ki madat se de sakte hai.
  • CHARACTER SET:Document me use hone bale character encoding ki jankari bhi meta tag ki madat se de sakte hai.
  • AUTHOR:Author means us site ki owner. Author ki jankri meta tags se de sakte hai.

Is tara se apni website (webpage) ko search engine optimization kar sakte hai.

IMPORTANCE OF META TAGS

  1. Simple word me kahe to meta tags dwara content ko user (visit) ke samne lane ke liye istemal hota hai. Magar iske alawa bhi meta tag ki bhut use hai. jinke bareme niche bataya hai.
  2. Meta tag dwara Title, Description, Author and Keyword etc ko define kiya jata hai.
  3. Cookies, URLs redirection etc se bhi meta dwara define kiya jata hai.
  4. Meta tag hamari webpage ki indexing me bhut madat karta hai.
  5. Viewport setting ko meta tag dwara ki jati hai.
  6. SEO site ke liye search engine optimization bhut jaruri hai, to meta tag iske liye bhut upyogi hai.


SYNTAX OF HTML <META> TAG

Sabka ek na general syntax hota hai. waise hi meta tag ka bhi ek general syntax.
<meta attribute= “value”>

Aapne upper dekha <meta> tag ki general syntax. Meta tag ek empty HTML tag hota hai. jiska koi ending tag nahi hai.

Meta tags ko istemal HTML karne se aapke koi ending tag nahi lagana padta hai. magar XHTML me meta tags ko istemal kar rahe hai to ending tag lagana jaruri hota hai.

ATTRIBUTES OF META TAG

<meta> tag ke sath kuch common attributes ke bare me niche bataya jar aha hai.
  • Charset: Means character setting is attribute dwara HTML document ki character encoding ko define kiya jata hai.
  • Content: Is attribute dwara name aur http-equiv attribute ki value define ki jaati hai.
  • Name: Is attribute dwara meta data ka naam define kiya jaata hai. iski value me, application name, author description, general, keywords, viewport ho sakte hai.
  • http-equiv: Is attribute se content attribute dwara define value ke liye HTTP header define ki jaati hai. Is attribute ki content type, default style aur refresh possible value ho sakti hai.

in sabhi attribute ki use karke badhi aasani se apne site ki information (jankari) search engine or visitor tak desakte hai.

ab ek example ke through jaante hai ki <meta>tag ko kaise use kiya jata hai.

example:
<!DOCTYPE html>
<html>
<head>
<meta name= “author” content= “lovely”>
<meta name= “description” conetent= “HTML Tutorial In Hindi”>
</head>
<body>
<h1> Introduction to meta tag</h1>
<p><meta> tag hamari site ki jankari ko search engine aur visitor  tak provide karti hai. <meta> tag banane ke badh hi hamari webpage ki SEO hoti hai. </p>
</body>
</html>
Previous: Formatting

HTML TUTORIAL:META TAGS HTML TUTORIAL:META TAGS Reviewed by Phaguni Mandal on December 02, 2018 Rating: 5

No comments:

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();
Powered by Blogger.