Google makes use of structured information to higher perceive what a webpage is about by classifying the subject, figuring out necessary elements of the webpages like logos and pictures, and displaying webpages prominently on the high of the web page.

There are a number of sorts of structured information, however solely one among them is most popular by Google, so it’s necessary to make use of the precise format.

Which Sorts Of Structured Knowledge Does Google Assist?

Google helps three sorts of structured information:

  1. JSON-LD.
  2. Microdata.
  3. RDFa.

Every of these requirements is a distinct method of speaking structured information and is specified on the official Schema.org web site.

Screenshot of Schema.org Structured Data ExamplesScreenshot by creator, Might 2022

Within the picture above, it may be seen that the Schema.org structured information instance gives examples in three codecs.

There are three tabs. Every tab corresponds to a distinct type of structured information: Microdata, RDFa, and JSON-LD structured information.

What Is Microdata Structured Knowledge?

Microdata is a method so as to add metadata inside the HTML code and is part of the HTML specification, often known as the WHATWG (Internet Hypertext Utility Know-how Working Group) HTML commonplace.

Microdata is an  HTML specification for marking up a webpage inside the HTML itself.

It’s primarily metadata that’s positioned inside the HTML code that’s printed inside the <physique> tags and is readable by machines like Googlebot.

Schema.org, the non-profit group that creates the structured information specs, printed a structured information explainer known as Getting Began and used Microdata in all of their examples.

So, Microdata continues to be a sound approach to talk structured information and is at the moment supported by the Schema.org standards-making physique in addition to by Google (besides in particular instances the place it’s explicitly not supported).

The microdata is nested inside current HTML like this:

<physique itemscope itemtype="https://schema.org/WebPage">
<div itemprop="breadcrumb">
<a href="https://www.searchenginejournal.com/structured-data-google-prefers/451847/class/books.html">Books</a>
<a href="class/books-literature.html">Literature &amp; Fiction</a> >
<a href="class/books-classics">Classics</a>

Within the above code, the microdata known as, “itemprop” is inserted to specify the structured information Property, on this case, the breadcrumb structured information property.

That is what that code seems to be like with out the microdata structured information:

<a href=”class/books.html”>Books</a>
<a href=”class/books-literature.html”>Literature &amp; Fiction</a>
<a href=”class/books-classics”>Classics</a>

There are different methods of doing the identical factor through the use of the BreadcrumbList structured information sort as properly.

What Is RDFa Structured Knowledge?

RDFa is an acronym for Useful resource Description Framework in attributes. It’s an extension of HTML.

The rationale it’s known as an extension of HTML is that it extends HTML.

Google describes RDFa like this:

“Microformats specify each a syntax for together with structured information into HTML paperwork and set of microformat courses every with its personal particular vocabulary of allowed attributes.

RDFa, alternatively, specifies solely a syntax and permits you to use current vocabularies of attributes or create your personal.

It even helps you to mix a number of vocabularies freely. If the present vocabularies don’t meet your wants, you’ll be able to outline your personal requirements and vocabularies by creating new fields.”

RDFa presents a further method of speaking structured information to Google that’s much less intrusive to the code than the microdata technique.

Like microdata, RDFa is at the moment specified as a sound type of information by Schema.org and is at the moment supported by Google (besides when explicitly not specified).

That is what a breadcrumb structured information can appear to be within the RDFa format:

<physique itemscope itemtype=”https://schema.org/WebPage”>

<div itemprop=”breadcrumb”>
<a href=”class/books.html”>Books</a> >
<a href=”class/books-literature.html”>Literature &amp; Fiction</a> >
<a href=”class/books-classics”>Classics</a>

What Is JSON-LD?

JSON-LD is a scripting language that enables publishers to speak necessary data to engines like google.

JSON-LD is an acronym for JavaScript Object Notation for Linked Knowledge.

As a result of it’s a script, it’s comparatively simpler to make use of than Microdata and RDFa as a result of JSON-LD shouldn’t be embedded inside the HTML as metadata or as an extension of the HTML itself.

JSON-LD could be positioned anyplace on a webpage, even within the Head part of the webpage code which is the place metadata normally goes.

JSON-LD may also be positioned on the finish of the code or inside the content material part of the code (it won’t be seen to web site guests).

One other advantage of JSON-LD is that, as a result of it’s separated from the HTML and exists inside its personal script, it may be simply edited and reviewed.

A breadcrumb record structured information markup can appear to be this:

 <script sort="utility/ld+json">
"@context": "https://schema.org",
"@sort": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Widgets",
"item": "https://example.com/widgets"
"@type": "ListItem",
"position": 2,
"name": "Blue Widgets",
"item": "https://example.com/widgets/blue-widgets"
"@type": "ListItem",
"position": 3,
"name": "Reviews"

Troubleshooting a script that’s fully separated from the HTML is a lot simpler than making an attempt to code the structured information inside the HTML, which is how Microdata and RDFa are carried out.

In accordance with the official JSON-LD web site:

“Knowledge is messy and disconnected. JSON-LD organizes and connects it, creating a greater Internet.

It’s a approach to create a community of standards-based, machine-readable information throughout Web pages.”

JSON-LD scripts could be added to a webpage in a fashion that may be templated inside an internet site, making it simple so as to add, replace, and take away.

The official Schema.org structured information specification could be discovered at Schema.org (shock!).

Which Sort Of Structured Knowledge Does Google Favor?

Although Microdata continues to be supported by the Schema.org standards-making group, what issues is the model that Google helps.

In a Google Workplace-hours hangout from March 2019, a participant requested the next query:

“What sort of Schema markup is preferable for Google? Ought to I take advantage of Jason or… microformats? Which format is preferable?”

John Mueller answered:

“We at the moment desire JSON-LD markup. I believe a lot of the new structured information which might be type of come out for JSON-LD first. In order that’s what we desire.”

Google Prefers JSON-LD Structured Knowledge

Google’s John Mueller made it clear that Google most popular JSON-LD structured information.

A advantage of JSON-LD structured information is that it’s non-intrusive.

It’s non-intrusive as a result of it retains structured information separate from the HTML code.

That makes studying, troubleshooting, and updating structured information a lot simpler as a result of it’s extra easy to implement and preserve.

Moreover, the JSON-LD scripting language follows a set of simply realized guidelines and might simply be added or faraway from a web site.

How To Implement JSON-LD Structured Knowledge

The official Schema.org JSON-LD structured information Schema.org web site has many examples of the right way to write the structured information code. Simply take an instance and use it as a template.

Right here’s a picture of an instance with out structured information:

screenshot of content without structured dataScreenshot by creator, Might 2022

That is an instance of the very same content material expressed as JSON-LD Schema.org structured information:

Screenshot of json-ld structured data from schema.orgScreenshot by creator, Might 2022

Google Prefers JSON-LD Structured Knowledge

Google’s most popular format for structured information is JSON-LD.

As a result of that’s Google’s desire, it’s a good suggestion to ensure that all structured information used inside a webpage is utilizing JSON-LD and never the JSON-LD construction.

Watch the Google Webmaster Workplace-hours hangout on the 22:33 minute mark:

Extra Assets:

Featured Picture: Helder Almeida/Shutterstock


Previous article12 Important web optimization Information Factors For Any Web site
Next articleStrive These Instruments & Strategies For Exporting Google Search Outcomes To Excel


Please enter your comment!
Please enter your name here