: Are there any problems with pages from the same site using different doctypes? After a re-design of some pages in our site, we have the new re-designed pages with doctype HTML5 and all the
After a re-design of some pages in our site, we have the new re-designed pages with doctype HTML5 and all the rest pages (that are not yet redesigned) with doctype XHTML 1.0 Transitional.
Does that create any problem?
There is a similar question (Is it bad to have a mix of HTML 5 and XHTML pages within one website from SEO perspective?) but it only touches the SEO subject. I am wondering if any other kind of issue can arise from this situation.
More posts by @Hamm4606531
1 Comments
Sorted by latest first Latest Oldest Best
There is clearly no problem about it. Every request returns one document that has its own independent doctype. This is not affecting any other sites.
According to stackoverflow.com/questions/10380346/css-styles-not-applied-properly-if-use-doctype different doctypes could define different default CSS property values of specific (meta) elements. So it's important to overview the result, before publishing any doctype changes.
I'll leave the SEO part of your question, since you already found a link that answers this. (It does not affect your SEO.)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.