joomla/joomla-cms — pull request #312 by phproberto (2012-08-18 00:56:57+00:00)
Title: Fix type attributes not required in html5. Thanks @nternetinspired

Issue reported by @nternetinspired in the template9 branch:
https://github.com/Joomla3-Admin-template/joomla-cms/issues/114

To enable the html5 mode in the template use:

JFactory::getDocument()->setHtml5(true);

The type attributes will dissappear.