Quote:
Originally Posted by Carpetsmoker
Many people do this, mostly for two reasons: 1) Their documents are not quite 100% XHTML compliant, meaning Opera/Firefox/etc. somtimes fail to parse them, and 2) IE compatibility.
|
I find most people use XHTML because they want to use the latest and greatest yet are unaware that just setting the doctype to xhtml does not mean it gets served that way. Using xhtml and serving it as html doesn't make any sense.
XHTML vs HTML
The modern browsers don't have any problem parsing XHTML if it is written correctly.