Drupal 8 now has an HTML5 DOCTYPE

Events happening in the community are now at Drupal community events on www.drupal.org.
jacine's picture

I'm excited to announce that the patch to convert the html.tpl.php template has been committed. Here's what this means:

  1. Drupal 8 has a true HTML5 DOCTYPE.
  2. RDF is not hard-coded and the RDF variables are not exposed in the templates.
  3. There are separate variables to handle attributes for <html> and <body> elements. This allows us to easily add attributes to the <html> element, such as a manifest attribute (which is needed when working with Offline Web applications using the Application Cache).

The work done in the patch can easily be applied to Drupal 7 sites in the theme or module layer, and will likely be in the http://drupal.org/project/html5_tools shortly (some of it already has already been applied there). For a detailed look at the changes see the patch in comment #69.

Special thanks

Thanks to all that worked on this issue: scor, karschp, jessebeach, Everett Zufelt, linclark, Jeff Burnz, ericduran, Rob Loach, dcmouyard, tim.plunkett and skottler.

HTML5

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: