What Are Meta Tags? Types, Examples, and SEO Best Practices

Meta tags are HTML elements that provide information about a web page to search engines, browsers, and other online platforms. They help explain what a page is about, how it should be displayed, and whether search engines should include it in their results. For example, when you search on Google, you usually see a clickable page title and a short description beneath it. A website’s HTML title element and meta description can influence how that information appears.
Other meta tags help control search engine indexing, mobile display settings, character encoding, and how links look when shared on social media.
Meta tags are an important part of search engine optimization (SEO), but not all of them affect rankings directly. In this guide, we’ll explain what meta tags are, how they work, the different types of meta tags, and how to use them correctly on your website.
What Are Meta Tags in SEO?
Meta tags are pieces of HTML code that communicate information about a web page to search engines, browsers, and other systems. Most meta tags appear inside the section of an HTML document. They are generally not visible in the main content visitors read. In SEO, meta tags help search engines understand certain details about a page and can influence how it is indexed or presented in search results.
For example, a meta description provides a summary that Google may use when displaying a search result.
- A robots meta tag can tell search engines not to index a particular page.
- A viewport meta tag helps browsers display a page appropriately on different screen sizes.
Simple example of a meta tag:
<meta name=”description” content=”Learn what meta tags are and how to use them for SEO.”>
This code provides a description of the page. Google may use that description in search results, although it can also select different text from the page when that better matches a user’s search.
Where Are Meta Tags Added in HTML?
Most meta tags are placed within the HTML <head> section.
Here is a basic example:
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport”
content=”width=device-width, initial-scale=1″>
<title>What Are Meta Tags? A Beginner’s Guide</title>
<meta name=”description”
content=”Understand meta tags, their types, and how they work in SEO.”>
</head>
<body>
<h1>What Are Meta Tags?</h1>
<p>A beginner’s guide to HTML meta tags.</p>
</body>
</html>
In this example:
- The charset declaration sets the page’s character encoding.
- The viewport tag helps the browser handle mobile screen dimensions.
- The title element specifies the document’s title.
- The meta description provides a short summary of the content.
The title and meta description may influence how the page is presented in search results.
Why Are Meta Tags Important for SEO?
Meta tags help website owners communicate useful information to search engines and other platforms.
However, their importance depends on the type of tag and how it is used.
1. Help Search Engines Understand Page Information
Some metadata provides additional information about a page.
For example, a meta description gives search engines a short summary of the content.
Search engines primarily understand a page by processing its content and other relevant signals, so metadata should accurately reflect what the page contains.
2. Influence How Pages Appear in Search Results
A descriptive title and useful meta description can make a search result easier to understand.
Imagine someone searches for “how to create a website.”
Compare these two examples:
Example A
Title: Home Page
Description: Welcome to our website.
Example B
Title: How to Create a Website: Beginner’s Guide
Description: Learn how to create a website step by step, from choosing a domain to publishing your first page.
Example B communicates the page’s purpose much more clearly.
Google may still generate different title links or snippets, but good metadata provides useful information it can consider.
3. Control Search Engine Indexing
Some meta tags provide instructions to search engines about whether a page should appear in search results. For example, a noindex directive tells supporting search engines not to index a page. This can be useful for pages that should remain accessible to visitors but should not appear in public search results.
4. Improve Mobile Display
Viewport metadata helps browsers determine how a page should fit on different device screens. It is an important part of responsive web design, although the viewport tag alone does not make a website mobile-friendly.
5. Improve Social Media Sharing
Social metadata can help platforms generate link previews. When someone shares a website page on LinkedIn or Facebook, Open Graph tags can provide a preferred title, description, and image. This helps website owners control how their content is presented when supported by the platform.
What Are the Different Types of Meta Tags?
There are several types of meta tags, but not all are equally important for SEO.
The following are among the most useful for website owners.
1. Title Tag
The title tag defines a web page’s title.
Although marketers commonly call it a “meta title,” the title tag technically uses the HTML <title> element rather than a <meta> element.
HTML example:
<title>What Are Meta Tags? Types and SEO Examples</title>
The title can appear in the browser tab and may be used as the clickable title link in search results.
Google can also generate a different search result title using other page information.
Best practices for title tags:
- Write a unique, descriptive title for important pages.
- Include the primary keyword naturally where relevant.
- Explain the page’s main topic clearly.
- Avoid unnecessary keyword repetition.
- Keep the title concise and readable.
- Add the brand name when it provides useful context.
For example, a title for a digital marketing website could be:
“What Are Meta Tags? SEO Guide | Modifyed Digital”
There is no fixed Google character limit for title tags. However, excessively long titles may be truncated or rewritten in search results.
2. Meta Description Tag
A meta description is a short HTML summary of a web page.
It helps explain what users can expect when they visit the page.
HTML example:
<meta name=”description”
content=”Learn what meta tags are, their types, and how to use them to improve your website’s search appearance.”>
Google may use the meta description as the snippet below a search result.
However, Google sometimes selects text directly from the page to better answer a specific search query.
How to write an effective meta description:
- Summarize the actual page content.
- Make the description useful to potential visitors.
- Include the primary topic naturally.
- Avoid repeating keywords unnecessarily.
- Write a unique description for important pages.
- Use clear, straightforward language.
Many SEO professionals use approximately 150 to 160 characters as a practical writing guideline.
This is not an official Google character limit. Google truncates snippets according to available display space and other factors.
Does the meta description affect Google rankings?
Google does not use the meta description as a direct ranking factor. Its main SEO value is helping communicate a page’s relevance to potential visitors when Google chooses to display it.
3. Robots Meta Tag
The robots meta tag provides instructions about how supporting search engine crawlers should handle a page. It is particularly important for controlling indexing and certain aspects of search result presentation.
Example: Allow indexing and link following
<meta name=”robots” content=”index,follow”>
These values describe the default behaviour for many search engines, so this tag is generally unnecessary.
Example: Prevent indexing
<meta name=”robots” content=”noindex”>
This tells supporting search engines not to include the page in their search index.
Example: Restrict snippet display
<meta name=”robots” content=”nosnippet”>
This tells supporting search engines not to display a text snippet for the page.
Important: Search engines must be able to crawl a page to discover its robots meta tag. Blocking the page in robots.txt can prevent crawlers from seeing a noindex directive.
The noindex tag should also not be treated as a security or privacy feature. Sensitive pages require appropriate access controls.
4. Viewport Meta Tag
The viewport meta tag helps browsers control how a page is displayed on different screen sizes. It is particularly relevant to mobile and responsive website design.
HTML example:
<meta name=”viewport”
content=”width=device-width, initial-scale=1″>
Here:
- width=device-width sets the layout viewport width to the device’s width.
- initial-scale=1 sets the initial zoom level.
Without appropriate viewport configuration, mobile browsers may display desktop layouts at an inconvenient scale.
However, the viewport tag is only one part of a mobile-friendly website. Responsive layouts, readable text, accessible navigation, and properly sized elements are also important.
5. Charset Meta Tag
The charset meta tag specifies the character encoding used by a web page. Character encoding determines how text and symbols are interpreted and displayed by browsers.
HTML example:
<meta charset=”UTF-8″>
UTF-8 supports a broad range of languages, characters, and symbols.
Using the correct character encoding helps prevent text from displaying incorrectly.
The charset declaration is a technical HTML requirement rather than a direct SEO ranking factor.
6. Meta Keywords Tag
The meta keywords tag was historically used to list keywords associated with a page.
HTML example:
<meta name=”keywords”
content=”meta tags, SEO, HTML, search engines”>
In the early days of SEO, website owners sometimes used this tag to communicate their target keywords. However, Google does not use the meta keywords tag for web search ranking. Adding a long list of keywords to this tag will not improve your position in Google Search. For most modern websites, spending time optimizing the meta keywords tag is unnecessary. Instead, prioritize useful page content, descriptive titles, relevant headings, internal links, and accurate metadata.
7. Open Graph Meta Tags
Open Graph tags help control how web pages appear when shared on supported social media platforms. They are commonly used for link previews on platforms such as Facebook and LinkedIn.
HTML example:
<meta property=”og:title”
content=”What Are Meta Tags? A Beginner’s Guide”>
<meta property=”og:description”
content=”Understand the types of meta tags and how they work.”>
<meta property=”og:image”
content=”https://example.com/images/meta-tags-guide.jpg”>
<meta property=”og:url”
content=”https://example.com/what-are-meta-tags/”>
<meta property=”og:type” content=”article”>
These tags can specify:
- The title shown in the social preview
- A short description
- The preferred preview image
- The page URL
- The type of shared content
Different platforms may interpret social metadata differently or generate their own previews. Open Graph tags are primarily used for social sharing rather than as direct Google ranking signals.
8. X Card Meta Tags
X Card tags help specify how shared links may appear on X, formerly Twitter.
For example:
<meta name=”twitter:card” content=”summary_large_image”>
<meta name=”twitter:title”
content=”What Are Meta Tags?”>
<meta name=”twitter:description”
content=”A practical beginner’s guide to SEO meta tags.”>
<meta name=”twitter:image”
content=”https://example.com/images/meta-tags-guide.jpg”>
These tags can help provide a title, description, and image for supported link previews. Some platforms also use Open Graph information when specific card tags are unavailable.
9. Site Verification Meta Tags
Verification tags help website owners confirm control of a website with certain online services.
For example, Google Search Console supports HTML tag verification.
An illustrative verification tag looks like this:
<meta name=”google-site-verification”
content=”YOUR_VERIFICATION_CODE”>
The actual verification code is provided by Google Search Console.
Verification tags do not directly improve rankings.
Their purpose is to help establish website ownership so that authorized users can access relevant tools and reports.
Which Meta Tags Are Most Important for SEO?
Not every meta tag serves the same purpose.
The table below summarizes their practical importance.
| Tag or element | Primary purpose | Direct Google ranking factor? |
| Title element | Defines page title and helps inform search result titles | Used in search result systems |
| Meta description | Provides a potential search snippet | No |
| Robots meta tag | Controls indexing and certain result features | Not a ranking boost |
| Viewport meta tag | Controls mobile viewport behavior | Not directly |
| Charset meta tag | Specifies text encoding | No |
| Meta keywords | Lists keywords | No, Google ignores it |
| Open Graph tags | Influences supported social previews | No |
| X Card tags | Influences supported X previews | No |
| Site verification tag | Verifies website ownership | No |
For most website owners, the first priorities should be a useful page title, an accurate meta description, appropriate indexing controls, and correct technical setup.
How to Add Meta Tags to Your Website
The process depends on how your website is built.
You can add meta tags directly through HTML or manage them through a content management system.
Method 1: Add Meta Tags in HTML
If you have access to your website’s HTML, place the relevant meta tags inside the <head> section.
Example:
<head>
<meta charset=”UTF-8″>
<meta name=”viewport”
content=”width=device-width, initial-scale=1″>
<title>SEO Meta Tags: A Practical Guide</title>
<meta name=”description”
content=”Learn how SEO meta tags work and how to add them correctly.”>
<meta name=”robots” content=”index,follow”>
</head>
The robots tag in this example is optional because its values describe the default behaviour.
Save the changes and confirm that the tags appear correctly in the page source.
Method 2: Add Meta Tags in WordPress
WordPress websites can manage titles and descriptions using SEO plugins or other website settings.
Common SEO plugins include Yoast SEO and Rank Math.
The general process is:
- Open the relevant page or blog post in WordPress.
- Find the SEO settings provided by your plugin.
- Enter the SEO title and meta description.
- Review the page’s indexing settings.
- Save or update the page.
- Verify the published HTML.
The exact steps depend on your plugin and website configuration.
Method 3: Add Meta Tags in Shopify
Shopify provides built-in settings for editing search engine listings.
For many product pages, collection pages, and other supported content types, you can:
- Open the relevant item in the Shopify admin.
- Find the search engine listing settings.
- Edit the page title and meta description.
- Save the changes.
- Check the published page.
More advanced metadata may require theme settings or custom development.
Method 4: Add Meta Tags in Wix
Wix offers built-in SEO settings for titles, descriptions, and other metadata.
Open the relevant page’s SEO settings, edit the fields, and publish the changes.
Wix also provides advanced settings for supported custom meta tags.
Do You Need Coding Knowledge to Add Meta Tags?
Not necessarily.
Most modern content management systems provide ways to edit basic SEO metadata without writing HTML.
However, understanding basic HTML is useful when checking for duplicate tags, conflicting indexing instructions, or incorrect implementations.
How to Add Meta Tags to Your Website
The process depends on how your website is built.
You can add meta tags directly through HTML or manage them through a content management system.
Method 1: Add Meta Tags in HTML
If you have access to your website’s HTML, place the relevant meta tags inside the <head> section.
Example:
<head>
<meta charset=”UTF-8″>
<meta name=”viewport”
content=”width=device-width, initial-scale=1″>
<title>SEO Meta Tags: A Practical Guide</title>
<meta name=”description”
content=”Learn how SEO meta tags work and how to add them correctly.”>
<meta name=”robots” content=”index,follow”>
</head>
The robots tag in this example is optional because its values describe the default behaviour.
Save the changes and confirm that the tags appear correctly in the page source.
Method 2: Add Meta Tags in WordPress
WordPress websites can manage titles and descriptions using SEO plugins or other website settings.
Common SEO plugins include Yoast SEO and Rank Math.
The general process is:
- Open the relevant page or blog post in WordPress.
- Find the SEO settings provided by your plugin.
- Enter the SEO title and meta description.
- Review the page’s indexing settings.
- Save or update the page.
- Verify the published HTML.
The exact steps depend on your plugin and website configuration.
Method 3: Add Meta Tags in Shopify
Shopify provides built-in settings for editing search engine listings.
For many product pages, collection pages, and other supported content types, you can:
- Open the relevant item in the Shopify admin.
- Find the search engine listing settings.
- Edit the page title and meta description.
- Save the changes.
- Check the published page.
More advanced metadata may require theme settings or custom development.
Method 4: Add Meta Tags in Wix
Wix offers built-in SEO settings for titles, descriptions, and other metadata. Open the relevant page’s SEO settings, edit the fields, and publish the changes. Wix also provides advanced settings for supported custom meta tags.
Do You Need Coding Knowledge to Add Meta Tags?
Not necessarily. Most modern content management systems provide ways to edit basic SEO metadata without writing HTML. However, understanding basic HTML is useful when checking for duplicate tags, conflicting indexing instructions, or incorrect implementations.
Meta Tags Best Practices for SEO
Correctly implementing meta tags helps your website communicate information more effectively.
Here are the main practices worth following.
1. Write Unique Titles for Important Pages
Different pages generally serve different purposes. For example, an SEO service page and a blog explaining SEO should not have the same title. Write titles that accurately describe each page’s content.
2. Create Helpful Meta Descriptions
Your meta description should explain the main value of the page without exaggeration or misleading claims. Avoid descriptions that could apply equally to dozens of unrelated pages.
3. Use Keywords Naturally
Include relevant terms when they help describe the topic. Do not force the same keyword repeatedly into titles or descriptions.
For example, this is unnecessarily repetitive:
“Meta Tags SEO, SEO Meta Tags, Best Meta Tags SEO Guide”
A clearer alternative is:
“What Are Meta Tags? Types, Examples, and SEO Tips”
4. Check Robots Instructions Carefully
A noindex directive can prevent an important page from appearing in Google Search. Review these settings before launching new pages or migrating your website.
5. Use Metadata That Matches Visible Content
Meta tags should accurately represent what users will find on the page. Misleading titles or descriptions may create a poor experience and lead search engines to select different text.
6. Review Social Sharing Metadata
If your content is regularly shared on social platforms, check that the title, description, and image produce a useful preview.
7. Avoid Unnecessary or Unsupported Meta Tags
Not every meta tag found in an old SEO tutorial is relevant today. Some tags are ignored by Google, while others only serve specific technical purposes. Focus on the metadata that supports your actual website requirements.
Common Meta Tag Mistakes to Avoid
Meta tags are relatively small pieces of code, but mistakes can affect search appearance, indexing, and user experience.
1. Missing or Generic Title Tags
Using titles such as “Home” or “Page 1” provides little context.
Solution: Write a specific, descriptive title for each important page.
2. Duplicate Meta Descriptions
Using the same description across unrelated pages makes it harder to communicate each page’s unique value.
Solution: Create page-specific descriptions for priority URLs.
3. Keyword Stuffing
Repeating keywords unnaturally does not make metadata more effective.
Solution: Focus on clarity, accuracy, and search intent.
4. Accidentally Using Noindex
A page with an unintended noindex directive may disappear from search results after search engines process that instruction.
Solution: Check indexing directives during technical audits and before publishing important pages.
5. Confusing Robots.txt With Meta Robots
robots.txt controls crawler access, while a robots meta tag can control indexing when a crawler can access the page.
Solution: Understand the difference before applying either method.
6. Assuming Meta Tags Guarantee Higher Rankings
Meta tags are only one part of SEO.
Even perfectly optimized metadata cannot compensate for irrelevant content, serious technical problems, or a website that fails to meet visitors’ needs.
Solution: Treat metadata optimization as part of a broader SEO strategy.
At Modifyed Digital, meta tag optimization is considered alongside content quality, search intent, technical accessibility, internal linking, and website performance. This wider approach is important because successful SEO depends on how these elements work together.
How Do Meta Tags Affect AI-Powered Search?
AI-powered search features are changing how some people discover and consume information.
Google AI Overviews and AI Mode can provide generated answers alongside supporting sources and links.
However, website owners should not assume that adding a particular meta tag will guarantee inclusion in an AI-generated answer.
Do Meta Tags Help With AI Overviews?
Meta tags can help with aspects of search engine accessibility, indexing, and content presentation.
For example, appropriate robots instructions determine whether pages can be indexed, while snippet controls can affect how content is presented in supported search experiences.
These settings may affect whether and how a page is available in search.
But there is no special “AI Overview meta tag” that guarantees a citation or placement.
Google recommends following its existing SEO best practices for AI-powered Search features.
Should You Change Your Meta Tags for AI SEO?
There is generally no need to replace standard metadata with a separate AI-specific system.
Instead:
- Keep important content accessible to search engines.
- Use accurate page titles and descriptions.
- Avoid accidentally restricting indexing.
- Publish original, useful information.
- Maintain clear content organization.
- Follow Google’s supported structured data guidance when applicable.
Remember that structured data is not the same thing as a meta tag. Both can provide information about a page, but they use different formats and serve different purposes.
Meta Tags vs HTML Tags: What’s the Difference?
All meta tags are HTML elements, but not all HTML tags are meta tags.
HTML tags generally define the structure or content of a page.
For example:
<h1>What Are Meta Tags?</h1>
<p>This is a paragraph of visible text.</p>
The <h1> and <p> elements organize content that visitors can read.
Meta tags, on the other hand, primarily provide information for browsers, search engines, or other systems.
For example:
<meta name=”description”
content=”A guide to meta tags and SEO.”>
This information is not displayed as a paragraph in the body of the page.
The title element is another important distinction. It defines document metadata but is technically not a <meta> tag.
Are Canonical Tags the Same as Meta Tags?
No. Canonical tags are related to metadata, but they are implemented using the HTML <link> element.
A common canonical tag looks like this:
<link rel=”canonical”
href=”https://example.com/what-are-meta-tags/”>
It indicates the preferred URL when duplicate or very similar pages exist.
Search engines may use this signal when choosing which URL to treat as canonical.
The canonical tag is not a guarantee that Google will select the specified URL.
Understanding this distinction is useful because title elements, canonical links, structured data, and meta tags are sometimes grouped together under the broad label of “SEO metadata,” even though their technical implementations differ.
Conclusion
Meta tags may be small elements of HTML, but they perform several important functions.
They help communicate information about a website, support search engine indexing controls, influence search result presentation, and improve how links appear on supported social platforms.
Understanding what meta tags are, how the different types work, and when to use them can help you avoid common technical mistakes. Start with accurate page titles, useful meta descriptions, appropriate robots directives, and the basic metadata required for your website.
Then check that your content, technical setup, and user experience support your SEO goals. If you need help identifying metadata problems or improving your website’s on-page SEO, explore Modifyed Digital’s on-page SEO services. A proper review can help identify which changes are worth prioritizing rather than treating every meta tag as equally important.
Frequently Asked Questions About Meta Tags
Meta tags are pieces of HTML code that provide information about a web page to search engines, browsers, and other online platforms.
A common example is:
<meta name=”description”
content=”A beginner’s guide to SEO meta tags.”>
This provides a short summary of a web page.
Yes, certain meta tags are important for search appearance, indexing, and technical website behaviour. However, not all meta tags directly affect rankings.
There is no fixed number. A page should include the metadata required for its technical functionality, search visibility, and other relevant purposes.
No. Google does not use the meta keywords tag for web search ranking.