Structured data is a way to help Google in its usual search to better understand the content of your web page, through explicit information provided on your page.
This information can be given in various formats such as JSON-LD, Microdata or RDFa, the JSON-LD option being recommended by Google.
- JSON-LD. A small script placed in the header of the page that includes a Json format with a series of basic notations with information about your web page.
- Microdata. Added attributes in some HTML tags within the content of your web page that provide information about the web page. Some of them can be the ones used inside "div", such as Itemscope, Itemtype, Itemprop.
- RDFa. A series of new attributes applied in HTML, XHTML or HTML5 used both in the header and in the body of an HTML page. These most basic attributes used are vocab, typeof, property, resource, prefix.
For these structured data to be considered correct, they must meet a series of essential requirements, otherwise, your website may be harmed in its positioning:
- Use the rich results test to find possible errors.
- Add your site in Google Search Console to detect technical errors on any of your pages that can be fixed.
- Follow Techniques to avoid on your website to avoid being penalized by Google.
- Provide updated and relevant information that can be seen by any user.
- The marked content must be totally related to the content of the page, the user must never be deceived with unrelated content.
- Content must not promote pedophilia, bestiality, sexual violence, violent or cruel acts, hatred of particular groups, or dangerous activities or illegal activities that may cause serious and immediate harm to others. It should only be used for educational purposes.
- Content marked with structured data must follow the content guidelines for that data type.
In this article we are only going to use the JSON-LD format, since it is the one recommended by Google.
A structured data of type JSON-LD can look like this:
We recommend the following URL, Structured Data Google Assistant, to create structured data. This script will be added inside the "head" tags of your website.
Tips on SEO and Online Business