I am planning to use HTML5 DOCTYPE. But i may use some HTML4 or XHTML markups. Will it be a valid to use HTML5 DOCTYPE? Will webpage will not go to Quirks Mode?
Thanks in advance
I am planning to use HTML5 DOCTYPE. But i may use some HTML4 or XHTML markups. Will it be a valid to use HTML5 DOCTYPE? Will webpage will not go to Quirks Mode?
Thanks in advance
Will it be a valid to use HTML5 DOCTYPE?
It is possible to write a document that (aside from the Doctype) is valid HTML 4 and valid HTML 5. It is also possible to write one that isn't. So "it depends".
Will webpage will not go to Quirks Mode?
Browser rendering modes are not determined by anything after the Doctype (except for IE-specific meta tags).