What is Snippet in SEO? Best practices for creating quality meta descriptions
What is Snippet in SEO?
The snippet is a single search result in a set of search results and generally consists of a title, a URL, and a page description. The content of a snippet matches parts of the search query, and you'll see your keyword highlighted in the snippet description.
How snippets are created?
Snippets are automatically created from page content. Snippets are designed to emphasize and preview the page content that best relates to a user's specific search. This means that Google Search might show different snippets for different searches.
Snippets are primarily created from the page content itself. However, Google sometimes uses the meta description HTML element if it might give users a more accurate description of the page than content taken directly from the page.
How to prevent snippets or adjust snippet length
You can prevent snippets from being created and shown for your site in search results, or let Google know about the maximum lengths that you want your snippets to be. To prevent Google from displaying a snippet for your page in search results, use the nosnippet meta tag. To specify the maximum length for your snippets, use the max-snippet:[number] meta tag. You can also prevent certain parts of the page from being shown in a snippet by using the data-nosnippet attribute.
Best practices for creating quality meta descriptions
Google will sometimes use the <meta name="description"> tag from a page to generate a snippet in search results, if we think it gives users a more accurate description than would be possible purely from the on-page content. A meta description tag generally informs and interests users with a short, relevant summary of what a particular page is about. They are like a pitch that convince the user that the page is exactly what they're looking for. There's no limit on how long a meta description can be, but the snippet is truncated in Google Search results as needed, typically to fit the device width.
Create unique descriptions for each page on your site
Identical or similar descriptions on every page of a site aren't helpful when individual pages appear in search results. Wherever possible, create descriptions that accurately describe the specific page. Use site-level descriptions on the main home page or other aggregation pages, and use page-level descriptions everywhere else. If you don't have time to create a description for every single page, try to prioritize your content; at the very least, create a description for the critical URLs like your home page and popular pages.
Include relevant information about the content in the description
The meta description doesn't just have to be in sentence format; it's also a great place to include information about the page. For example, news or blog postings can list the author, date of publication, or byline information. This can give potential visitors very relevant information that might not be displayed in the snippet otherwise. Similarly, product pages might have the key bits of information—price, age, manufacturer—scattered throughout a page. A good meta description can bring all this data together.
For example, the following meta description provides detailed information about a book, and information is clearly tagged and separated:
<meta name="description" content="Written by Thanigasalam, Illustrated by Thanigasalam, Price: Rs.100, Length: 784 pages">
Programmatically generate descriptions
For some sites, like news media sources, generating an accurate and unique description for each page is easy: since each article is hand-written, it takes minimal effort to also add a one-sentence description. For larger database-driven sites, like product aggregators, hand-written descriptions can be impossible. In the latter case, however, programmatic generation of the descriptions can be appropriate and are encouraged. Good descriptions are human-readable and diverse. Page-specific data is a good candidate for programmatic generation.
Keep in mind that meta descriptions comprised of long strings of keywords don't give users a clear idea of the page's content, and are less likely to be displayed as a snippet.
Use quality descriptions
Make sure your descriptions are truly descriptive. Because meta descriptions aren't displayed in the pages the user sees, it's easy to let this content slide. But high-quality descriptions can be displayed in Google's search results, and can go a long way to improving the quality and quantity of your search traffic.
Here are some examples of how a meta description can be improved:
Bad (list of keywords):
<meta name="description" content="Sewing supplies, yarn, colored pencils, sewing machines, threads, bobbins, needles">
Better (explains what the shop sells and details like opening hours and location):
<meta name="description" content="Get everything you need to sew your next garment. Open Monday-Friday 8-5pm, located in the Fashion District.">
Bad (same description used for every news article):
<meta name="description" content="Local news in Whoville, delivered to your doorstep. Find out what happened today.">
Better (uses a snippet from the specific news article):
<meta name="description" content="Upsetting the small town of Whoville, a local elderly man steals everyone's presents the night before an important event. Stay tuned for live updates on the matter.">
Bad (doesn't summarize the page):
<meta name="description" content="Eggs are a source of joy in everyone's life. When I was a small child, I remember picking eggs from the hen house and bringing them to the kitchen. Those were the days.">
Better (summarizes the whole page):
<meta name="description" content="Learn how to cook eggs with this complete guide in 1 hour or less. We cover all the methods, including: over-easy, sunny side up, boiled, and poached.">
Bad (too short):
<meta name="description" content="Mechanical pencil">
Better (specific and detailed):
<meta name="description" content="Self-sharpening mechanical pencil that autocorrects your penmanship. Includes 2B auto-replenishing lead. Available in both Vintage Pink and Schoolbus Yellow. Order 50+ pencils, get free shipping.">