Google John Mueller gives an answer about JSON-LD structured data in detail in the latest instalment of the #AskGoogleWebmasters video series.
Contact A One Sol for digital marketing services.
Here is the question that was submitted:
“Is it possible to insert JSON-LD structured data at the bottom of the header? This is similar to the work of many websites.”
Mueller replied, “yes.” JSON LD structured data can be inserted into the header or body of a page. Like the one who asks the question, he works in both cases.
If JSON-LD is more suitable for your page, you can also paste it into the page using JavaScript.
We offer services for SEO enterprise.
What is the difference between JSON-LD and other types of structured data?
Before answering this question, Mueller briefly introduced each type of structured data and their differences.
Read also: Campaign Optimization Scores: Google Ads App to Display It
In addition to JSON-LD, there are two other types of structured data. Below are the differences between them.
- JSON-LD: The JavaScript character embedded in the script tag in the header or body of the page.
- Microdata: An open-source HTML specification for the community to embed structured data in HTML content.
- RDFA: HTML5 extensions that support link data by adding other properties to existing HTML tags on the page.
Although all of these types of structured data can be used, Mueller said Google prefers to use JSON-LD.