Skip to main content
Menu Main Navigation Call Click to call
After Hours Support +1 (866) 615-2516
Fax +1 (408) 492-9053

Learn More About Milestone Solutions

Call us at +1-408-200-2211 or fill the form below

*Required Files

Your privacy and security are a top priority. We will not distribute or sell your personal information to any third parties. Please visit our privacy policy page to contact us to review or delete data collected.

Should I use RDFa or JSON schema format?

JSON-LD should be used. Over the last few years, JSON-LD has become the most preferred structured data. Why? JSON-LD is well-implemented. It can be embedded in "script" tags in the head of a document (moving out of HTML body), separated from the data it describes. This makes JSON-LD a format that can be templated, easily implemented and a great option for adding, deleting, or updating purposes.
 
Other formats like Microdata or RDFa are neither that flexible nor easy to use options for adding, deleting, or updating purposes. RDFa are inline markups applied to HTML documents and define attributes that are added to the HTML.
 
Above all, search engines prefer JSON-LD and thus JSON-LDs are more picked up and displayed in the SERPs. Here is what Google has to say - "Google recommends using JSON-LD for structured data whenever possible". Period.
 
Source: https://developers.google.com/search/docs/guides/intro-structured-data
More Questions Contact Us
Should I use RDFa or JSON schema format?
Request a demo