5

It seems that, as of right now, there is little to no support in HTML5 for semantic markup using RDFa or Microformats. I've done a little bit of reading, but if I were to start using HTML5 right now, what could I do to support semantic markup (such as microformats) and Semantic Web technologies (such as RDFa)? If I want to utilize these technologies now, should I stick with XHTML?

Thomas Owens
  • 114,398
  • 98
  • 311
  • 431
  • If you've not already found it, see http://dev.w3.org/html5/rdfa/ – Alohci Jul 24 '10 at 21:37
  • HTML Microdata (Draft) http://dev.w3.org/html5/md/ Microdata tutorial with examples: http://diveintohtml5.ep.io/extensibility.html – Arjan Jul 24 '10 at 16:41

1 Answers1

5

(Some years have passed …)

For semantically annotating your content in HTML5 documents, you can use Microdata, Microformats, and/or RDFa:

(There is also JSON-LD, but I’m not adding it to the list because it doesn’t integrate with the existing markup, it’s a separate "blob", duplicating the content.)

unor
  • 92,415
  • 26
  • 211
  • 360