This repository is deprecated
This codelab walks you through adding structured data to a simple HTML site, including where to place your structured data on a site and how to validate structured data.
Google Search works hard to understand the content of a web page. You can help us by providing explicit clues about the meaning of a page with structured data.
Structured data provides a way to standardize information about a page and classify the page content. We also use structured data to enable special search result features and enhancements. For example, a recipe page with valid structured data can be eligible to appear in a graphical search result, which we call a rich result in a host carousel.
- A recent version of Chrome or other modern web browser
- The sample code
- Basic understanding of HTML and JSON syntax
If you've found an error in this sample, please file an issue: https://github.com/googlecodelabs/structured-data-codelab/issues
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.
Copyright 2018 Google, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.