TagsGenFree Tag & SEO Tools

What Is a Description Tag in HTML and How to Write One

SEO and Meta TagsUpdated November 29, 20265 min readBy TagsGen Team
What Is a Description Tag in HTML and How to Write One
Quick answer

A description tag is the meta description: one line of HTML in the head of a page that sums up the page in a sentence or two. Search engines may show it as the grey text under your link. It is not a ranking factor, but a clear one can win more clicks.

People search for “description tags” when a tool, a client or an SEO plugin asks them to “add a description” and they are not sure what it means. It is simpler than it sounds. This guide shows what the tag looks like, where it goes, how Google uses it, and how to write one for any page.

What the description tag looks like

The description tag is a meta element with the name description. It sits inside the head section of the page, next to the title tag, and visitors never see it on the page itself.

<head>
  <title>Free YouTube Tag Generator</title>
  <meta name="description" content="Type a topic and get YouTube tags you can copy in one click. Free, no sign up, works for Shorts and long videos.">
</head>

Three details matter. The name must be exactly description. The text goes inside the content attribute. And each page should have only one description tag, because two tags on one page send mixed signals.

Description tag, meta description, search snippet

These words get mixed up, so here is how they relate:

TermWhat it means
Description tagThe HTML element itself
Meta descriptionThe same thing, and the most common name for it
SnippetThe text a search engine shows under your link, which may or may not come from your tag
og:descriptionA separate tag used by Facebook, LinkedIn and other apps when someone shares your link

How Google uses it

Google Search Central says it builds snippets mainly from the page content, and it may use the meta description when that text describes the page better than a part of the page would. So your description is a suggestion. Google often keeps it for broad searches and swaps in a sentence from the page for very specific ones.

Google has also said since 2009 that it does not use the description tag for ranking. Its job is to persuade the searcher that your page answers their question. A better description can raise the click rate, and that is where its value lies.

Bing and other search engines read the same tag, so one good description serves all of them.

How to add a description tag

  • WordPress with an SEO plugin: open the post, scroll to the SEO box and fill in the meta description field.
  • WordPress without a plugin: many themes do not output a description at all, so an SEO plugin is the easiest fix.
  • Shopify, Wix and similar builders: look for “Search engine listing” or “SEO settings” on each page or product.
  • Hand coded HTML: paste the line shown above into the head of each page.

If you want the code written for you, the meta tag generator builds the description tag together with the title, robots and Open Graph tags, and the SEO tag generator shows a preview of how the result may look in search.

How to write a good description

  1. Describe this page only. Every page needs its own text. Google specifically warns against using the same description on many pages.
  2. Lead with the answer or the benefit. Say what the reader gets, not that the page exists.
  3. Use the words people search. Google bolds words that match the query, which makes your result easier to spot.
  4. Add useful facts. For a product, the price or size. For a tool, that it is free. For a guide, what it covers.
  5. Keep it readable. No lists of keywords, no double quotes that break the HTML, no all caps.

Here is a weak and a better version for two pages:

WeakBetter
Welcome to our website. We offer hashtag tools, tag tools, SEO tools and more.Get Instagram hashtag ideas from one keyword, then copy the five that fit your post. Free and no sign up.
Meta description, meta tags, SEO, description tag, Google.See what a description tag is, where it goes in your HTML and how to write one that earns the click.

How long should it be?

There is no fixed limit in the HTML, and Google says it trims snippets to fit the screen. Most people aim for about 150 to 160 characters so the full sentence shows on desktop. Our article on meta description length explains the numbers, and the character counter checks your draft.

Mistakes to avoid

  • Leaving it empty on important pages, so Google has to guess.
  • Copying the same description across every page or product.
  • Stuffing keywords, which reads badly and gets ignored.
  • Using double quotes inside the text, which can cut the content attribute short.
  • Forgetting the share text. If links look wrong on Facebook, read how to fix the Facebook link preview.

Frequently Asked Questions

Is a description tag the same as a meta description?

Yes. Description tag, meta description and meta description tag all mean the same HTML element: a meta element with the name description.

Does the description tag help rankings?

Not directly. Google has said it does not use the meta description for ranking. It can still help by making more people click your result.

Why does Google show different text from my description?

Google may build the snippet from the page content when that matches the search better. A specific, accurate description is more likely to be used.

Can a page have two description tags?

It should not. Keep one description tag per page so search engines get one clear summary.

Where do I find the description tag of a page?

Open the page, view the source with Ctrl and U, and search for the word description. The text inside the content attribute is the description.

TagsGen Team

We write plain guides on tags, hashtags and simple SEO, and check facts against each platform's own help pages.

Keep reading