Browse By

Where to Insert JSON-LD Structured Data in a Page?

What are the different ways Google processes structured data on a web page? and what are their differences?. Also, learn where to insert JSON-LD structured data on a page.

Is it possible to insert JSON Structured Data at the bottom of the body instead of the head? It seems to work fine for many websites.

A recipe page with valid structured data
A recipe page with valid structured data
What are the different ways Google processes structured data on a web page?

JSON-LD is one of the ways Google can process structured Data on a web page. The other supported formats are Microdata and RDFa.

What is the difference between RDFa, Microdata, and JSON-LD?

RDFa is an HTML 5 extension that supports link data through additional attributes added to existing HTML tags on the page.
Microdata is an open community HTML Specification used to nest structured data within HTML content. Like RDFa, it also uses HTML Tag attributes for this.
JSON-LD is JavaScript notation embedded in a tag in the page head or body. The markup is not interleaved with the user-visible text, which makes nested data items easier to express.

Where to Insert JSON-LD Structured Data in a Page?

As mentioned, the JSON-LD structured data can be either in the head or the body of the page. JSON-LD can also be injected into your pages using Javascript if that suits your pages better.

Leave a Reply

Your email address will not be published. Required fields are marked *