To change your Magento stores DOCTYPE to HTML5? To do so, you have to copy some template files and change the code there accordingly:

  1. Kopieren Sie die Templatedateien aus app\design\frontend\base\default\template\page in den entsprechenden lokalen Pfad. Es handelt sich um diese Dateien:
    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
  2. 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
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!
Keywords: