Originally Posted by Garrett
I like going with standards, even if you don't have XML, xHTML is still cleaner and more efficiant.
|
xHTML is no more "cleaner" or "efficiant".
The way the majority of people use xHTML, they might as well be using plain HTML. By closing all your tags and quoting attributes, you aren't using xHTML. You're simply closing your tags and adding quotes. I can do that in HTML 4.01 too and still be valid.
When you try to use xHTML "formatting" without sending the data as xHTML, you can actually create problems. Not to mention the numerous rules that must be followed in true xHTML for a document to be valid (try writing inline JavaScript in xHTML and see what isn't allowed)...