What is a Meta Tag?
- Get link
- X
- Other Apps
What is a 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:
-
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 Attribute | Purpose |
|---|---|
charset | Defines character encoding |
description | Short summary of the page |
keywords | Important keywords for SEO |
author | Name of the page creator |
- Get link
- X
- Other Apps
.jpeg)
.jpeg)
Comments
Post a Comment