To change your Magento stores DOCTYPE to HTML5? To do so, you have to copy some template files and change the code there accordingly:
-
Copy the Magento layout template files from app\design\frontend\base\default\template\page in the corresponding local path in your theme. Those are the files:
- 1column.phtml
- 2column-left.phtml
- 2columns-right.phtml
- 3columns.phtml
- Now take a look at the top of those files and change the old DOCTYPE declaration with the HTML5 version. The HTML5 DOCTYPE looks like this: <!DOCTYPE html>.
Changing the DOCTYPE to HTML5
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.