Skip to content

nataliemarleny/structured-data

Repository files navigation

Add structured data to your web pages

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.

Further Reading

Discover different features and types of markup available in the Search Gallery Use a sitemap file to help search engine crawlers find your URLs Get help with your structured data in the Webmaster Forum Monitor your site with Search Console

Introduction

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.

Pre-requisites

  • A recent version of Chrome or other modern web browser
  • The sample code
  • A text editor (This is optional. You can use the Structured Data Testing Tool to draft your JSON-LD samples)
  • Basic understanding of HTML and JSON syntax

Support

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.

License

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:https://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.

About

2019-03 Codelabs for structured data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages