View Single Post
06-20-2006, 09:37 PM
#23
NickPresta is offline NickPresta
Status: I'm new around here
Join date: Jun 2006
Location: Toronto, Ontario
Expertise:
Software:
 
Posts: 15
iTrader: 0 / 0%
 

NickPresta is on a distinguished road

Send a message via AIM to NickPresta

  Old

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