What Are Meta Tags? A Plain-English Introduction
If you have ever pasted a link into Slack and watched a neat little card appear with a headline, a summary, and an image, you have already seen meta tags at work. Nobody typed that card by hand. Slack fetched the page, read a handful of invisible lines near the top of the HTML, and built the preview from what it found.
Meta tags are those lines. They sit inside a page's <head> element and describe the page to machines — search engine crawlers, social platforms, chat apps, browsers — rather than to the person reading it. None of them render on screen. All of them shape how the page shows up everywhere except the page itself.
This post is the beginner's on-ramp: what a meta tag physically is, what the important ones do, and which ones you can safely ignore. For the exhaustive version with specs, edge cases, and a full worked example, see The Complete Guide to Meta Tags.
Where meta tags live
Every HTML document has two top-level sections. <body> holds what people see. <head> holds what machines read. Meta tags go in <head>, and nowhere else — a <meta> tag dropped into the body is ignored.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>How to Repot a Fiddle Leaf Fig</title>
<meta name="description" content="A step-by-step guide to repotting a fiddle leaf fig without shocking the roots, including soil mix and timing.">
</head>
<body>
<h1>How to Repot a Fiddle Leaf Fig</h1>
...
</body>
</html>
Two things in that snippet are worth flagging early, because they trip up nearly everyone new to this.
First, <title> is not technically a <meta> tag — it's its own element. But everyone in SEO calls it a meta tag because it does the same job, and every tool that generates "meta tags" produces it. Don't get hung up on the taxonomy.
Second, the <h1> in the body and the <title> in the head are different things that happen to say the same thing here. The <h1> is the visible headline on your page. The <title> is the headline in the browser tab and in Google's results. They can differ, and often should — more on that shortly.
The anatomy of a meta tag
Almost every meta tag follows one of two shapes:
<meta name="description" content="...">
<meta property="og:title" content="...">
The name/property attribute says which piece of metadata this is. The content attribute holds the value. That's the whole grammar.
The name versus property split is the single most common source of silent failures. Standard HTML meta tags — description, robots, viewport, author — use name. Open Graph tags, which come from a separate specification, use property. Twitter Card tags, confusingly, use name. Write <meta name="og:image" ...> and Facebook will simply not see it; the page ships, nothing looks broken, and the preview stays blank.
The meta tags that actually matter
Out of dozens of meta tags that exist historically, roughly six do meaningful work in 2026.
The title tag. The blue clickable headline in search results and the text in the browser tab. It's the strongest single on-page signal about what a page covers, and it's a real ranking factor. Keep it to roughly 50-60 characters — though the true constraint is rendered pixel width, around 580px on desktop, which means a title full of capitals and wide letters runs out of room sooner than one built from narrow ones. Google may also rewrite a title it judges unhelpful or boilerplate-heavy. The Page Title Optimizer measures actual pixel width rather than counting characters, which is the check that matters.
The meta description. The grey summary text under the headline in search results. It is not a ranking factor, and anyone who tells you otherwise is working from very old information. What it does affect is click-through rate, which is often worth more than a small ranking bump. Aim for 140-160 characters on desktop; mobile results cut off closer to 120, so front-load the point. Google frequently replaces your description with a snippet pulled from the page body when that matches the query better — expected behaviour, not a bug.
The robots tag. Instructions for crawlers about what they may do with the page once fetched: index or noindex, follow or nofollow, plus modifiers like max-image-preview:large. Most pages want the defaults and don't need the tag at all. You add it when you specifically want a page kept out of search results.
The canonical link. Strictly a <link> element, not a meta tag, but it belongs in the same mental bucket. It tells search engines "when you find this content at several URLs, this is the one that counts" — which matters the moment your site has tracking parameters, pagination, or filtered category pages.
Open Graph tags. The set that builds the social preview card: og:title, og:description, og:image, og:url, og:type. These are what Slack, LinkedIn, Facebook, WhatsApp, Discord, and iMessage read. Without them, platforms guess — usually badly, grabbing the first image on the page and an arbitrary paragraph. Our guide to the five Open Graph tags you actually need covers each one and the image dimensions that avoid a shrunken thumbnail.
twitter:card. One tag, and genuinely the only Twitter-specific one most sites need, because X falls back to your Open Graph tags for title, description, and image. What it can't infer is which card layout you want. If you're unsure whether to add the rest, Twitter Cards vs Open Graph walks through the decision.
The ones you can ignore
The meta keywords tag. Google announced in 2009 that it ignores this tag completely. Bing treats it, at best, as a spam signal. It has been dead for longer than many working SEOs have been in the industry, yet CMS plugins still offer a field for it. Leave it blank. The only thing it reliably does is publish your keyword targeting to any competitor who views your source.
meta name="author", meta name="revisit-after", meta name="rating", meta name="generator". Harmless, but no search engine acts on them. revisit-after in particular has never been honoured by any crawler, ever.
Long lists of language or geo meta tags. Language targeting is handled by the lang attribute on <html> and by hreflang link elements, not by meta tags.
How to write them without hand-coding
Most content management systems expose fields for title and description, and good SEO plugins add Open Graph fields too. If yours doesn't — or you're working on a static site, a landing page, or a framework where you're writing the <head> yourself — generating the block is faster and less error-prone than typing it.
The Meta Tag Generator produces a complete, correctly-attributed <head> block from a few inputs, with length limits enforced as you type. The Meta Description Optimizer shows you how the snippet will look in a real SERP before you commit to it. Both run entirely in your browser, so unpublished drafts and pre-launch URLs never leave your machine.
A sensible starting point
For a normal content page, this is enough:
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page-specific headline, 50-60 characters</title>
<meta name="description" content="140-160 characters that make someone want to click.">
<link rel="canonical" href="https://example.com/this-exact-page">
<meta property="og:type" content="article">
<meta property="og:title" content="Headline without the brand suffix">
<meta property="og:description" content="Short summary for the social card.">
<meta property="og:image" content="https://example.com/images/this-page.jpg">
<meta property="og:url" content="https://example.com/this-exact-page">
<meta name="twitter:card" content="summary_large_image">
Eleven lines. Every one of them earns its place, og:url matches the canonical exactly, and there isn't a keywords tag in sight. Get this block right once as part of your publishing template and meta tags stop being something you think about.
Frequently asked questions
What are meta tags in simple terms?
Meta tags are lines of HTML inside a page's <head> section that describe the page to machines rather than to visitors. They never appear on the page itself, but they control the headline and summary shown in Google, the preview card shown when the link is shared, and whether search engines index the page at all.
Where do meta tags go in HTML?
Inside the <head> element, before the closing </head> tag. Anything placed in <body> is ignored by crawlers looking for metadata. Put charset first, then viewport, then the title, then everything else.
Are meta tags still important in 2026?
Yes, but selectively. The title tag, meta description, robots directives, canonical link, and Open Graph tags all still do real work. The meta keywords tag and most 1990s-era meta tags do nothing.
Do meta tags improve rankings?
Only some of them. The title tag is a genuine ranking signal. The meta description is not, though it strongly affects click-through rate. Robots and canonical tags affect eligibility and consolidation rather than ranking directly.
Does the meta keywords tag still work?
No. Google confirmed in 2009 that it ignores the meta keywords tag entirely, and no major search engine has used it since. Adding it has no SEO benefit and only exposes your keyword targeting to competitors.
How many meta tags does a page need?
Around eight to twelve for a typical content page: charset, viewport, title, description, robots, canonical, and the five core Open Graph tags, plus twitter:card. Beyond that you get diminishing returns fast.
Can I see another site's meta tags?
Yes. View the page source in any browser (Ctrl+U or Cmd+Option+U) and read the <head> section. All meta tags are public by design, since crawlers have to be able to read them.
Try the related tools
SEO Meta Tag Generator
Generate standard HTML meta tags, title, description, canonical, and robots tags.
Page Title SERP Pixel Width & Length Optimizer
Optimize SEO title tag length (50-60 chars) and preview Google SERP display.
Meta Description SERP Previewer & Optimizer
Optimize meta description length (150-160 chars) and preview search snippet appearance.
Related articles
The Complete Guide to Meta Tags
Meta tags control how pages look in Google and on social. A complete 2026 guide to title, description, robots, canonical, Open Graph and Twitter tags.
Open Graph Tags: The Five You Actually Need
Open Graph tags decide how your links look on social. The five og: tags that matter, correct og image size, and the mistakes that break previews.
Twitter Cards vs Open Graph: Do You Need Both?
Twitter Cards vs Open Graph: X falls back to og: tags automatically, so you usually only need twitter:card. Here is exactly when overrides earn their place.