Mobile app version of vmapp.org
Login or Join
Hamm4606531

: 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

@Hamm4606531

Posted in: #Doctype #Html5 #Xhtml

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

1 Comments

Sorted by latest first Latest Oldest Best

 

@Candy875

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.)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme