Lesson 9 +20 XP

Schema Markup & Structured Data (JSON-LD)

Speaking Machine Code to Search Engines

Structured Data (using Schema.org vocabulary in JSON-LD format) provides explicit data clues to search engines about the meaning of a page.

Example: Course Schema in JSON-LD

Adding this script block into your HTML head allows Google to display rich snippet details (star ratings, price, duration, provider) directly on the SERP:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Course",
  "name": "Digital Marketing & SEO Essentials",
  "description": "Learn search engine mechanics, keyword research, meta tags, and analytics.",
  "provider": {
    "@type": "Organization",
    "name": "DocHero"
  },
  "isAccessibleForFree": true
}
</script>

Popular Schema Types

  • Article / BlogPosting: News & educational articles
  • Product: Prices, availability, reviews
  • FAQPage: Displays expandable Q&A accordions directly in Google search results
  • LocalBusiness: Address, phone number, opening hours
💡 Tip

Rich Snippets Boost CTR: Rich Snippets containing star ratings, FAQ boxes, or review counts increase Search Result Click-Through Rates by up to 30%!