Back to Glossary
SEO

Meta Tag

A meta tag is any <meta> element placed in an HTML document's <head> that passes page metadata—such as character encoding, a description, viewport settings, and crawling rules—to search engines and browsers. The meta description and meta robots tags are both specific types of meta tags.

  • A meta tag is an umbrella term for the <meta> elements that supply page metadata inside the HTML <head>; the meta description and the meta robots tag are subtypes of it.
  • Meta tags convey information in three ways: charset (encoding declaration), http-equiv (an HTTP header substitute), and name+content (document-level metadata).
  • Meta tags that Google recognizes include description, robots/googlebot, viewport, and google-site-verification.
  • The og: family consists of Open Graph protocol meta tags, which build the preview card shown when a page is shared on social media.
  • A meta tag does not directly raise search rankings on its own, but it is a core signal that controls indexing, snippets, mobile rendering, and how a page appears when shared.

Definition of a Meta Tag

A meta tag is the umbrella term for the <meta> elements that sit in the <head> of an HTML page and pass supplementary information about the page to clients such as search engines and browsers. Although meta tags are never rendered visibly on the page, they define its metadata—the document's character encoding, a page summary, how the page should render on mobile screens, indexing directives for crawlers, and more.

The key point is that a meta tag is the parent concept. The meta description and the meta robots tag so often cited in SEO are not separate ideas but specific types of meta tags. In other words, both <meta name="description"> and <meta name="robots"> fall within the broader category of the meta tag.

Metadata Delivery Methods

According to the MDN documentation, the <meta> element provides metadata through the following methods. Its role changes depending on which attribute you use.

  • charset — Declares the document's character encoding. In HTML5, utf-8 is the only valid value, and it must appear within the document's first 1024 bytes.
  • http-equiv — Acts as a pragma directive that emulates an HTTP response header (for example, refresh).
  • name + content — Defines document-level metadata as a name-value pair that applies to the entire page (for example, description, viewport, robots).
  • itemprop — Provides custom metadata for microdata and cannot be used together with name, http-equiv, or charset.

Key Meta Tags

Below are the key meta tags used frequently in practice and officially recognized by Google (sources: Google Search Central, MDN).

Meta tagRole
charsetDeclares the document's character encoding (fixed to utf-8 in HTML5)
name="description"Provides a page summary. May be displayed as the snippet in search results
name="robots" / name="googlebot"Controls indexing and crawling behavior. robots applies to all search engines; googlebot is Google-specific
name="viewport"Specifies how the page renders on mobile screens. A mobile-friendliness signal
name="google-site-verification"Verifies site ownership in Search Console
name="notranslate"Blocks a translated version of the page from being offered in search results
property="og:*"Open Graph protocol. Builds the social sharing preview

Code Example

This is a typical set of meta tags placed in a page's <head>.

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="A one- or two-sentence summary of the page.">
  <meta name="robots" content="index, follow">

  <!-- Open Graph (social sharing preview) -->
  <meta property="og:title" content="Page title">
  <meta property="og:description" content="Description shown when shared">
  <meta property="og:image" content="https://example.com/preview.jpg">
  <meta property="og:url" content="https://example.com/page">
</head>

SEO Relevance and Evidence

A meta tag is no magic lever that directly raises search rankings. In fact, Google has long stated that it does not use the name="keywords" meta tag in ranking. That said, meta tags are core control signals that shape search visibility and user experience.

  • Snippet control: description becomes a candidate for the summary shown in search results and influences click-through rate (CTR).
  • Indexing control: The robots meta tag lets you finely direct how an individual page is indexed and surfaced.
  • Mobile friendliness: viewport is the signal that tells Google how the page renders on mobile.
  • Sharing appearance: Open Graph meta tags (og:title, og:image, and so on) follow the ogp.me standard and serve as the basis for social platform crawlers to generate preview cards.

Implementation Checklist

  • Confirm that every page includes charset="utf-8" and a viewport.
  • Write a unique, appropriately sized description for each page.
  • For pages to exclude from the index, specify noindex in the robots meta tag.
  • For pages where social sharing matters, set og:title, og:description, og:image, and og:url.
  • Do not spend time on the keywords meta tag, which is meaningless for ranking.

References and Sources

Related terms