Meta Tags Explained: What They Do and Why They Matter
By Toy Wen Da, Co-Founder · Updated · 7 min read · scored 92/100
Meta tags are HTML elements in a page's <head> that tell search engines and browsers what a page is about, how to display it, and whether to index it. Visitors never see them, but search engines, browsers and social platforms read them directly and use them to build your headline, description and preview image in results.

What are meta tags, exactly?
A meta tag is an HTML <meta> element, almost always written as a name/content pair: <meta name="description" content="...">. It sits inside the <head> element next to the page's <title>, before the visible <body> starts. According to MDN Web Docs, last updated April 24, 2026, the <meta> element holds metadata that can't be expressed by other head elements such as <title>, <link>, <script> or <style>. Browser support has been consistent since July 2015, so compatibility isn't a worry on a modern site.
A typical head section looks like this:
<head>
<meta charset="UTF-8">
<title>Example Books - used books for children</title>
<meta name="description" content="Browse used and rare children's books, sorted by age and reading level.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
The charset tag is the odd one out. Instead of a name/content pair it declares the document's character encoding directly, and the HTML specification requires it to sit within the first 1,024 bytes of the page.

Not every meta tag matters to search engines. Google reads a specific, documented set and quietly ignores the rest, which is what trips up most site owners.
Which meta tags does Google actually support?
Google publishes an explicit list of the meta tags it reads, according to Google Search Central. Anything outside that list is skipped without any penalty. Here's what's on it:
| Meta Tag | What It Tells Google | Example |
|---|---|---|
| description | Suggests the snippet text shown in search results | <meta name="description" content="A description of the page"> |
| robots / googlebot | Controls whether the page is crawled and indexed | <meta name="robots" content="noindex,nofollow"> |
| viewport | Signals the page is mobile-friendly and sets how it scales | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| google-site-verification | Confirms site ownership in Search Console | <meta name="google-site-verification" content="..."> |
| rating | Flags explicit content so it's filtered from SafeSearch results | <meta name="rating" content="adult"> |
| notranslate | Stops Google from offering an auto-translated title and snippet | <meta name="googlebot" content="notranslate"> |
Google's own documentation illustrates the description tag with a used bookstore page and a description that reads: "Author: A.N. Author, Illustrator: P. Picture, Category: Books, Price: £9.24, Length: 784 pages." A description doesn't need to be clever. It needs to tell a searcher exactly what they're looking at.
The robots and googlebot tags can conflict, so they deserve a closer look. robots applies to every search engine that respects it, while googlebot applies to Google alone. When the two disagree, Google follows the more restrictive instruction, so a page marked both max-snippet:50 and nosnippet is treated as nosnippet. If you leave both out, a page defaults to index, follow.
Tags Google ignores
A few ignored tags are common enough to name. Google retired the meta keywords tag, <meta name="keywords" content="...">, for ranking purposes years ago, has confirmed it plays no role in indexing or rankings, and other major search engines dropped it too. The HTML lang attribute isn't a ranking signal either, since Google detects a page's language from its actual text. And rel="next" and rel="prev" pagination links no longer affect indexing because Google stopped using them.

If you inherited a template full of keyword tags and old pagination markup, you can remove them safely. Google was already ignoring them.
How to add tags to a page
If your site runs on WordPress, Wix, Shopify or a similar platform, you almost never touch raw HTML. Look for an SEO or page-settings panel. Most platforms expose title and description fields directly, and some let you apply a sitewide template as a fallback.
If you're coding a page by hand or reviewing a developer's work, the tags go inside <head> in plain HTML. You don't need to memorize the syntax: a free meta tag generator will build the description, title, viewport and social-preview tags and give you code that's ready to paste in.
Writing a meta description that gets clicks
A meta description won't move your rankings, but it decides whether someone clicks your result over the one next to it. Some things matter more than others:
- Length. Semrush recommends keeping it to roughly 105 characters so Google doesn't truncate it in the results.
- The keyword, once, naturally. Google often bolds a term that matches the query, which draws the eye.
- A reason to click. Action-oriented phrases such as "compare," "see pricing" or "get started" give someone a next step instead of a restatement of the title.
- One per page. Duplicate descriptions across a site suggest two pages might be interchangeable, which they usually aren't.
Google can also rewrite your description to better match a specific search query, so treat it as a strong suggestion rather than a guarantee. Before you publish, check how the title and description will render. A free SERP preview tool shows the real width Google uses, so you catch a truncated line before it goes live instead of after.
Writing a title tag that matches intent
The <title> tag isn't technically a meta tag but its own HTML element. It lives in the same part of the page and does a similar job, so it belongs here. Aim for roughly 50 to 60 characters, put your primary term near the front, and match the tag to what the searcher wants: someone typing "buy" wants a product page rather than a blog post.
Two identical title tags on a category page and a product page confuse both search engines and searchers. When you audit an existing site, look for exact duplicates first, because they're the easiest fix with the biggest payoff.
Common mistakes to avoid
A few mistakes show up on almost every site audit:
| Mistake | Why It's a Problem | The Fix |
|---|---|---|
| Meta keywords tag | Ignored entirely by Google; wastes editing time | Remove it, no ranking impact either way |
| Missing viewport tag | Page renders at desktop width on mobile, hurting usability | Add <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| Meta refresh redirects | Not reliably supported across browsers and confuses users | Use a server-side 301 redirect instead |
| Treating hreflang as a meta tag | It's actually a <link> element, not a name/content pair, so it's often placed wrong |
Write it as <link rel="alternate" hreflang="..."> |
| Duplicate or missing descriptions | Every affected page looks interchangeable to Google and to searchers | Write a unique description per page |
Run a free on-page meta checker across your key templates before assuming they're clean. A missing title tag on a single product template can silently affect hundreds of pages at once.
FAQs
What is the difference between a meta tag and a title tag?
Technically the title tag isn't a meta tag at all but a separate HTML element, <title>. People group it with meta tags because it sits in the same part of the page and serves a similar purpose, which is describing the page to search engines and searchers.
Do meta keywords still matter for SEO?
No. Google has confirmed it doesn't use the meta keywords tag for ranking or indexing, and none of the major search engines currently give it any weight.
Does the meta description affect Google rankings?
Not directly, because it isn't a ranking factor. A well-written description can still improve your click-through rate, and Google sometimes rewrites it to better match what someone searched.
What happens if a page is missing a viewport meta tag?
Mobile browsers render the page at desktop width and shrink it to fit, which produces tiny text and cramped tap targets. It's also one of the signals Google checks when confirming a page is mobile-friendly.
Can I add meta tags without editing HTML code?
Yes. Most CMS platforms give you a settings panel for titles and descriptions. If you're working directly in code, a meta tag generator can produce correct, ready-to-paste syntax so you don't have to write it from memory.
Fix what's broken before your next crawl
A single missing description, or a title tag just long enough to truncate, is easy to miss once a site has more than a handful of pages. A sample SEO report built from a real crawl shows how your meta tags and the rest of your on-page SEO look to Google right now.
Resources / References
Related reading: Meta Description Length, Character Count & Best Practices for 2026.
Sources
About the author
SearchBlueprint researched, wrote and scored this article with the content pipeline our customers run on their own sites. The score in the byline is what our content engine gave this page before it published. Nothing here is reviewed by hand, which is the point: it is the product's output, published where anyone can check it.