Which one is better? XHTML STRICT 1.0 or XHTML 1.1
Printable View
Which one is better? XHTML STRICT 1.0 or XHTML 1.1
Well, 1.1 is, as long as you're using it with the correct MIME type (application/xhtml+xml) - if you're not, you are better off not using XHTML at all.
The problem being, you can't serve application/xhtml+xml because Internet Explorer doesn't, not even the fresh 7 version, support documents served with it. XHTML is a big issue due to many practical issues it has versus with the theoretical issues.
However, the basic rule would be, if you don't need the special features of 1.1, then you should use 1.0 strict. If you don't know what are the differences then you shouldn't use 1.1. However, basically no browser supports (all of) the special features 1.1 offers. So you rarely have a true reason to use 1.1 except for technical testing.
Currently XHTML is commonly seen as a failure, atleast in the eyes of many purists, because browsers support very sloppy handling of XHTML pages when they should not do that. Also, almost all XHTML pages are served as text/html and they shouldn't (the meta tag for application/xhtml+xml in the page doesn't really have any practical effect).
However, I still use XHTML for the difference from the past it presents and the validation gains it has over SGML/HTML4 validation. I like the forced strictness.
Recently W3C has put up an entirely new working group for a new HTML that isn't XHTML. Hopefully they come up with something that will be adopted better than XHTML and which has a better support.