Mobile app version of vmapp.org
Login or Join
Yeniel560

: When I'm delivering a page with the XHTML mime type, should I use XML DOM or HTML DOM? I prefer using the XHTML mime type for pages, instead of HTML, and serve a different mime type to

@Yeniel560

Posted in: #Html #Xhtml #Xml

I prefer using the XHTML mime type for pages, instead of HTML, and serve a different mime type to IE, but when I do this, should I use XML DOM or HTML DOM?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Yeniel560

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

Do you mean DOCTYPE or do you really mean mime type? And, why do you prefer sending html to IE and xhtml to everyone else? Seems like an unnecessary complication.

As a side note, why would anyone whose audience is the general public prefer serving XHTML over HTML? I should probably ask that in another thread if I really want an answer...

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme