Schema markup is a form of structured data that helps search engines better understand the content on a webpage. By implementing schema markup, you can improve the way your content is displayed in search results and enhance user experience.
There are different types of schema markup, such as:
- Organization
- Event
- Product
- Review
- plus lots more…
All of these can be added to your HTML code using JSON-LD, Microdata, or RDFa formats.
Here is an example of a schema markup using JSON-LD for a local business:
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Example Company",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Anytown",
"addressRegion": "CA",
"postalCode": "12345",
"addressCountry": "US"
},
"telephone": "+1-555-555-1212",
"openingHours": "Mo-Fr 09:00-17:00",
"image": "https://example.com/logo.jpg",
"priceRange": "$$"
}
For more information on schema markup and tools to help you implement and validate it, consider these resources:
- Schema.org – The official website for schema markup, providing documentation, examples, and vocabularies.
- Google’s Structured Data Markup Helper – An interactive tool to help generate schema markup for your website.
- Google’s Structured Data Testing Tool – A tool to test and validate your schema markup implementation.
- Schema App – A comprehensive suite of tools and services for creating, managing, and deploying schema markup.