Valid HTML5 Spec markup
-
Since in HTML5 is a better practice to specify the lang on the root. Could be a way to make this a setting to choose on settings page, or show it in the HTML5 way by default?
i’m thinking even better would be to check the
add_theme_support()
for html5 support ascommen_form()
does.This is the waring shown by W3C validator on a html5 page with mQtranslate enabled.
Line 56, Column 54: Using the meta element to specify the document-wide default language is obsolete. Consider specifying the language on the root element instead. <meta http-equiv="Content-Language" content="en-US" />
- The topic ‘Valid HTML5 Spec markup’ is closed to new replies.