DEV Community

Cover image for Introducing Structured Data: Optimizing Content for Search Engines
Venkatesh Krishna
Venkatesh Krishna

Posted on

Introducing Structured Data: Optimizing Content for Search Engines

Search engine optimization is a competitive field. Schema markup is one way to help you get an edge over your competition. Schema lets you define the type of content on your page and then gives search engines a guide for how to index that content, making it more likely to show up in search results.

Schema also helps Google understand what kind of information they can extract from your web pages so they can present it better in their search results, which will increase visibility and click-through rates. In this blog post, we'll explore what structured data is, why it's important for SEO, and how to implement schema markup on any website!

What is Schema?

Schema.org is a structured markup that you can add to your HTML web pages to help Google and other search engines understand your content, and it makes your results stand out in the search engine result pages (SERPs). Schema comes in many forms including Rich Snippets for Reviews , Recipe Markup, Local Business Schema, Car Schema and check here to know all types of schemas.

Why do you need to pay attention to Schema.org?

As more and more people are using mobile devices to search for information, Schema becomes even more important because Google uses the contextual content of your page in its ranking algorithm. Schema can help you rank better on Google by providing additional data that they use when indexing or evaluating websites.

Example of Review Schema

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "3.5",
    "reviewCount": "11"
  },
  "description": "0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.",
  "name": "Kenmore White 17\" Microwave",
  "image": "kenmore-microwave-17in.jpg",
  "offers": {
    "@type": "Offer",
    "availability": "https://schema.org/InStock",
    "price": "55.00",
    "priceCurrency": "USD"
  },
  "review": [
    {
      "@type": "Review",
      "author": "Ellie",
      "datePublished": "2011-04-01",
      "reviewBody": "The lamp burned out and now I have to replace it.",
      "name": "Not a happy camper",
      "reviewRating": {
        "@type": "Rating",
        "bestRating": "5",
        "ratingValue": "1",
        "worstRating": "1"
      }
    },
    {
      "@type": "Review",
      "author": "Lucas",
      "datePublished": "2011-03-25",
      "reviewBody": "Great microwave for the price. It is small and fits in my apartment.",
      "name": "Value purchase",
      "reviewRating": {
        "@type": "Rating",
        "bestRating": "5",
        "ratingValue": "4",
        "worstRating": "1"
      }
    }
  ]
}
</script>
Enter fullscreen mode Exit fullscreen mode

Example of FAQ Schema In Real-life

Here is the example of an agency website Organik Monster tested on FAQ Schema!

https://search.google.com/test/rich-results/result/preview?id=9gmmtG4wDzvmrIKrRIv3QA

Top comments (0)