Russ Allbery wrote:
Scott R Godin <[EMAIL PROTECTED]> writes:

There's only one real problem with that, however.

Sending XHTML as text/html means the browser is expecting tag-soup. NOT
XHTML..

This is not true if you use XHTML 1.0.  Try it in Firefox.  You'll see
that the browser reports that it's in standards compliance mode.

Firefox is merely being kind to all the silly web-authors out there who think it's a good idea to send XHTML as text/html instead of application/xhtml+xml because the latter breaks in nearly every browser due to the fact that they aren't prepared to handle XHTML as it was meant to be delivered. EVERYONE jumped on this way too early.

That being said, there really isn't much of a reason to use XHTML rather
than HTML 4.0 unless one just wants to for personal reasons.  I use it for
my own reasons, but it's primarily as a science experiment, and it's
probably not the right mode to run general software in.

can't disagree with you there... :)

Reply via email to