Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- To HTML 5 or not to HTML 5, that is the question


mattur - 10:33 pm on May 31, 2010 (gmt 0)


Does anyone know of any reasons that creating new pages in HTML 5 would be bad if other pages on the site are HTML4.1? Just curious what side effects mixed doc type sites may incur.

Hi Demaestro, the doctype declaration is only used by browsers to switch between standards and quirks modes. The HTML5 doctype <!DOCTYPE html> turns on standards mode, so if your existing pages use a quirks mode HTML4.01 doctype that could be a problem, as the CSS would be displayed differently.

Otherwise, if you're already using a standards mode doctype, there should be no problems.

[edited for clarity]


Thread source:: http://www.webmasterworld.com/html/4140206.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com