RDFa Vs. Microdata
Asked Answered
H

1

18

RDFa in XHTML is a w3c standard. Microdata is mentioned as a HTML 5 API. My questions are:

  1. Is microdata also a w3c standard? If yes, why we need 2 similar standards?

  2. People say using microdata is simpler than RDFa. Except for this, what are the main differences between these two?

Thank you in advance Manoj

Heliochrome answered 13/4, 2012 at 22:39 Comment(3)
Related question on Webmasters: Microdata vs RFDaDashiell
Updating (now HTML5 is a standard!)... Microdata is only a "W3C Note" (not a recommendation), and lost the chance to be a standard with HTML5: see W3C blocks progress of Microdata Working Draft. Today (and next years!) the "best standard way" is to use RFDa Lite. PS: today the comparison is less important because only RDFa (and Lite) remain as standards.Emelina
THIS QUESTION IS A DUPLICATE OF THIS OLDER (2012) ONEEmelina
C
23
  1. Yes, Microdata is also a W3C standard: HTML Microdata. There are two standards because RDFa was designed to address the requirements of the RDF community, and the WHATWG HTML5 editor found the living RDFa spec too advanced, so designed his own thing.

  2. This is a very subjective question, but I'd say the advantages of RDFa are: it makes it easier to combine multiple vocabularies/schemas, it has better support for datatypes and the like, and is compatible with all the other RDF-based standards in case you care about that. The advantage of Microdata is that it's simpler to grasp for HTML authors. Here's a big comparison of both formats (done by and RDFa guy, so perhaps a bit biased).

Conducive answered 14/4, 2012 at 13:35 Comment(2)
Just want to note that Microdata is a proposed standard while RDFa and RDFa-lite are standards (at the time this question was asked).Ecclesia
Microdata is only a "W3C Note" (not a recommendation), and lost the chance to be a standard with HTML5: see W3C blocks progress of Microdata Working Draft. Today (and next yerars!) the "best standard way" is to use RFDa Lite.Emelina

© 2022 - 2024 — McMap. All rights reserved.