Snippets—the few lines of text that appear under every search result—are designed to give users a sense for what’s on the page and why it’s relevant to their query.
If Google understands the content on your pages, it can create rich snippets—detailed information intended to help users with specific queries. For example, the snippet for a restaurant might show the average review and price range; the snippet for a recipe page might show the total preparation time, a photo, and the recipe’s review rating; and the snippet for a music album could list songs along with a link to play each song. These rich snippets help users recognize when your site is relevant to their search, and may result in more clicks to your pages.
Three steps to rich snippets:
1. Pick a markup format.
Google suggests using microdata, but any of the three formats below are acceptable. You don‘t need any prior knowledge of these formats, just a basic knowledge of HTML. Structured Data Markup Helper can show you how to add microdata to your site.
- Microdata (recommended)
- Microformats
- RDFa
2. Mark up your content.
Google supports rich snippets for these content types:
Google also recognizes markup for video content and uses it to improve search results.
3. Test your markup.
Use the structured data testing tool to make sure that Google can read and extract your marked-up data.
That’s it! Once you‘ve added and tested your rich snippets markup, Google will discover it the next time it crawl your site. A few points to note:
- It may take some time for rich snippets to appear in search results or Place Pages.
- If rich snippets aren‘t appearing for your site, see possible reasons why.
- Marking up your data for rich snippets won‘t affect your page‘s ranking in search results, and Google doesn’t guarantee to use your markup.
Reference:
1、 https://support.google.com/webmasters/answer/99170?hl=en
2、http://www.w3.org/TR/microdata/