Enable HTML5 Markup

Unless otherwise indicated, the code snippets you see below should be placed into your theme's functions.php file.

Below is the code to enable HTML5 markup on your site:

Note:

Previously the code to enable HTML5 markup was slightly different. While the previously suggested code will not break your site, there will be an error message displayed if Debug mode is enabled.

It is recommended that users update their own functions.php files or download a new copy of the theme as all theme downloads have been updated to reflect the new code.