Meta tags tell browsers and search engines about a page, such as its description or whether it can be indexed. Open Graph tags tell social platforms and messaging apps how to display a link when someone shares it. The two overlap in what they describe, but they have different audiences, and a well-prepared page usually has both.
This guide explains each type, compares them side by side, shows which tags you need, and gives a copy-ready example for your page’s <head>.
What Are Meta Tags?
Meta tags are HTML elements in the <head> of a page that describe it. The ones that matter most for search include:
- The title tag (technically an element, not a meta tag), which names the page.
meta name="description", a summary that search engines may use in snippets.meta name="robots", which tells crawlers whether to index the page or follow its links.meta name="viewport", which controls how the page scales on mobile devices.
Google’s documentation notes that it sometimes uses the meta description to build a snippet when it describes the page better than the page content alone. For writing advice, see how to write effective meta descriptions.
What Are Open Graph Tags?
Open Graph tags are meta tags that use the og: prefix and a property attribute. They come from the Open Graph protocol, created by Facebook, and they control how a page appears as a preview card when its link is shared.
The four basic properties are og:title, og:type, og:image, and og:url. Most pages also add og:description. For a closer look at the image tag, read what is an Open Graph image.
Meta Tags vs. Open Graph Tags at a Glance
| Standard meta tags | Open Graph tags | |
|---|---|---|
| Main audience | Browsers and search engines | Social platforms and messaging apps |
| Attribute used | name | property |
| Typical examples | description, robots, viewport | og:title, og:description, og:image, og:url |
| What they control | How the page is understood, indexed, and shown in search | How a shared link looks in a feed or chat |
| Visible to visitors? | No | No |
What About X (Twitter) Cards?
X uses its own set of card tags, which use the name attribute, such as twitter:card. It can fall back to Open Graph tags for the title, description, and image, but the card type needs its own tag. To get a large image card on X, add:
<meta name="twitter:card" content="summary_large_image">
Do You Need Both?
In most cases, yes. Meta tags and Open Graph tags do different jobs:
- Without a meta description, search engines build the snippet from your page text, which can work but is less predictable.
- Without Open Graph tags, social platforms guess the title, description, and image for your preview, and the result is often plain or wrong.
Some platforms can use the meta description when no og:description exists, but you should not rely on that. Setting both gives you control in both places.
Can They Say Different Things?
Yes, and sometimes they should. A meta description is written for someone scanning search results, while an Open Graph description is read by people in a feed or a chat who already know who shared the link. The title can differ too: your title tag may include a brand name for search, while og:title can be shorter and punchier. Reusing the same text is fine if it works in both places. The important thing is that each is accurate.
A Copy-Ready Example
Here is a complete <head> snippet combining standard meta tags, Open Graph tags, and the X card tag:
<title>How to Count Words in an Article: 4 Quick Methods</title>
<meta name="description" content="Learn how to count words in an article with an online word counter, Google Docs, Word, or WordPress.">
<meta name="robots" content="index, follow">
<meta property="og:title" content="How to Count Words in an Article">
<meta property="og:description" content="Four quick ways to count words, and why the totals differ.">
<meta property="og:type" content="article">
<meta property="og:url" content="https://ngepush.com/guides/how-to-count-words-in-an-article/">
<meta property="og:image" content="https://ngepush.com/images/word-count-og.jpg">
<meta name="twitter:card" content="summary_large_image">
How to Add Them in WordPress
Most WordPress sites handle all of this through an SEO plugin. The plugin typically provides fields for the title and meta description, plus a separate social section where you can set the Open Graph title, description, and image. If you leave the social fields empty, the plugin usually falls back to the standard title, description, and featured image.
How to Check Both
Preview the search side with the Meta Tag Preview, which shows how your title and meta description look in a search result. Preview the social side with the Open Graph Preview, which shows how a link card is likely to look from the title, description, and image details you enter. If the social preview looks wrong, see why your link preview looks wrong.
Common Mistakes
- Setting only one set. A good meta description does nothing for your social card, and the reverse is also true.
- Using the wrong attribute. Open Graph tags use
property, while standard meta tags and X cards usename. - Forgetting
twitter:card. X may show a small card even with a large image. - Mismatched
og:url. It should match the canonical address of the page. - Relative image URLs. Use a full
https://address forog:image. - Duplicate tags from both a theme and a plugin.
Conclusion
Meta tags are for search engines and browsers, and Open Graph tags are for social sharing. They are small additions to your page that do different jobs, so set both. Add the X card tag if you want a large card there, and preview each before you publish.
Frequently Asked Questions (FAQ)
What is the difference between meta tags and Open Graph tags?
Meta tags describe a page to browsers and search engines. Open Graph tags tell social platforms and messaging apps how to show the page when its link is shared.
Do I need Open Graph tags if I already have a meta description?
Yes. The meta description is for search results. Open Graph tags control your social preview, and without them platforms may guess the title, description, and image.
Is og:description the same as the meta description?
They serve different places, but they can contain the same text. Some platforms use the meta description if og:description is missing, but it is better to set both.
Do I need Twitter Card tags if I have Open Graph tags?
X can fall back to Open Graph tags for the title, description, and image, but you should still add twitter:card to choose the card type, such as summary_large_image.
Why do Open Graph tags use property while meta tags use name?
It is part of how the Open Graph protocol is defined. Open Graph tags use the property attribute, while standard meta tags and X card tags use name.
