O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HTML5, RDFa, and Microdata

As we discussed in the previous chapter, one aspect of HTML5 is semantic markup, or the ability to describe your content in a meaningful way with a vocabulary, and apply the vocabulary to the markup of your content. Drupal 7 has such a semantic capability baked right into core, and it is called RDFa. However, the way that RDFa is integrated with Drupal 7 is not HTML5-compliant. Furthermore, although RDFa will be supported by HTML5, the HTML5 Microdata specification (http://dev.w3.org/html5/md/) was specifically designed with HTML5 in mind, and there is a Microdata module for Drupal 7 (http://drupal.org/project/microdata).

So, let us enhance our d7dev Recipe content type with some HTML5 Microdata that will make it semantically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required