HTML Code For Rich Snippets Organic Searches – Product Ratings

By F.A Mollick

Share on


You must have seen in Google search results that some of the results of organic search have beautiful yellow stars that appear just under page titles in search results. You will be amazed after knowing that the HTML code for this type of snippet is really so simple and easy. You can easily implement them on your site and after waiting some days you also see the rich snippet search results for your website too. This is not only beautiful and attractive but also this help to get about 30% clicks from organic search results.

Organic Searches – Product Ratings HTML Code:

Here is the HTML code:

<div itemscope itemtype=””>
<img itemprop=”image” src=”image-link.jpg” alt=”Product Name“/>
<span itemprop=”name”>Product Name</span>
<div itemprop=”aggregateRating itemscope itemtype=””>
<span itemprop=”ratingValue”>4.5</span>
out of <span itemprop=”bestRating”>5</span>
based on <span itemprop=”ratingCount”>301</span> user ratings.

Thats it.. All you need to copy and paste it inside of your website. Don’t forget to customize the bolded part of the code to display the language and data you desire!


Once you’re done it, make sure you:

  1. Check your product page with Google’s Structured Data Testing Tool.  Google will let you know if there are any mistakes in your code.
  2. Resubmit your XML sitemap in Google Webmaster Tools to ensure that Google indexes your changes as soon as possible!
  3. It will take about one week to come it on Google search result. So wait and than check it by searching on Google.


Comments are closed.