Skip to content

Google’s John Mueller on Where to Insert JSON-LD Structured Data via @MattGSouthern

Kickstart Your Online Business With These 300+ Video Tutorials

In the latest instalment of the #AskGoogleWebmasters video series, Google’s John Mueller answers a common question about JSON-LD structured data.

Here is the question that was submitted:

“Is it possible to insert JSON structured data at the bottom of theinstead of the? It seems to work fine for many websites.”

In response, Mueller says “yes.” JSON-LD structured data can absolutely be inserted in either the head or body of the page. Just as the person who submitted the question assumed – it will work fine either way.

JSON-LD can also be inserted into pages using JavaScript, if that’s what happens to suit your pages better.

What’s the Difference Between JSON-LD and Other Structured Data Types?

Before answering the question, Mueller gave a brief explanation of each type of structured data and how they’re different from each other.

There are two other types of structured data in addition to JSON-LD. Here are the differences between each of them.

  • JSON-LD: A JavaScript notation embedded in a script tag in the page head or body.
  • Microdata: An open-community HTML mspecification used to nest structured data within HTML content.
  • RDFA: An HTML5 extension that supports link data through additional attributes added to existing HTML tags on the page.

Although all of these types of structured data are acceptable to use, Mueller has [embedded content] saying Google prefers the use of JSON-LD.

[embedded content]

[embedded content] [embedded content]

Source link

Back To Top

This site is protected by wp-copyrightpro.com