SEO ToolsLesson 335Free preview
JSON-LD Schema
This lesson is part of Web Developer Tools · All levels
Summary
JSON-LD is a way of writing structured data in JSON format that is placed inside HTML pages. This data uses the word schema.org to describe an entity such as an article, product, organization, or event. Search engines can use it to understand pages and display rich results, although it doesn't guarantee a higher ranking.
Key points
- JSON-LD is inserted through a script with type application/ld+json
- @context indicates the vocabulary, usually https://schema.org
- @type specifies the type of entity described
- Property must be appropriate to the type of entity, e.g. headline for Article
- Validation with Rich Results Test or validator
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.