From the course: HTML: Structured Semantic Data

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Comparing JSON-LD, RDFa, and microdata for implementing data schemes

Comparing JSON-LD, RDFa, and microdata for implementing data schemes - HTML Tutorial

From the course: HTML: Structured Semantic Data

Start my 1-month free trial

Comparing JSON-LD, RDFa, and microdata for implementing data schemes

- [Presenter] Once you have a data scheme identified from schema.org now you need to communicate that scheme through some type of programming. There are several ways to do this. As mentioned on the schema.org homepage, three methods are RDFa, microdata and JSON-LD. Fundamentally, these are three different ways of solving the same problem, they identify elements of a data scheme described at schema.org website. However, how they do this and their acceptance by search engines varies. Let's take a quick peek at these methodologies. Our RDFa and microdata are very similar and that they are incorporated into the HTML markup of the webpage via attributes. JSON-LD stands for the JavaScript Object Notation for Linked Data. Like all JavaScript, it's embedded in the webpage using script tags or it's linked as a separate file. Next, let's compare the syntax of microdata and RDFa. So on the left, I'm showing you microdata as it would be displayed in a very simple sentence, welcome to Harvard…

Contents