What is a Meta Tag?

 

What is a Meta Tag? 

Meta tag

A meta tag is a snippet of text placed in the HTML code of a web page, usually inside the <head> section. It provides metadata — information about the webpage — to browsers and search engines.


Simple Explanation:

Meta tags don’t show up on the webpage itself but give important details about the page like its description, keywords, author, and how it should be displayed.


Purpose of Meta Tags:

Purpose of Meta Tags:


  • Help search engines understand the content of the page (important for SEO)

  • Specify character encoding (like UTF-8)

  • Provide page description that often appears in search results

  • Give author or copyright info

  • Control how browsers and social media handle the page


Common Examples of Meta Tags:

html
<meta charset="UTF-8"> <meta name="description" content="This is a tutorial on SEO and meta tags."> <meta name="keywords" content="SEO, meta tag, HTML, web development"> <meta name="author" content="Your Name">

Summary:

Meta Tag AttributePurpose
charsetDefines character encoding
descriptionShort summary of the page
keywordsImportant keywords for SEO
authorName of the page creator


Comments

Popular posts from this blog

Business ko listing websites par submit karna kya hota hai?"

Excel Basic Short Keys ?

Robots.txt SEO me kis purpose se use ki jaati hai?"