W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] Re: OT: (X)HTML and design of site

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 19 Jul 2004 20:51:53 +0200
Message-ID: <40FC1849.1040400@annevankesteren.nl>
> XHTML work perfectly with all browsers (Internet Explorer included). 
> The problem just come from the support of the content-type
> application/xhtml+xml send in the HTTP Header. Internet Explorer
> don't support it.

And you needs that MIME type.


> W3C recommandation is to use application/xhtml+xml for serving XHTML
> 1.0 but you can use text/html if you want. the obligation of serving
> XHTML with application/xml+xhtml appeared only in the 1.1 version of

Since when does the W3C say anything authorative about MIME types? I
would rather trust the IETF, who say you have to use a XML MIME type.

> So actually you can use XHTML instead of HTML and it works very well
> for all my websites. Internet Explorer is more preoccupated by my CSS
> than by my XHTML :)

In that case you would use invalid HTML, not XHTML.

> Remember that XHTML is just an XMLization of HTML.

Remember that XML has well-formdness rules were HTML has not and that
those rules are heavily complicated and apply to XHTML as well.


  Anne van Kesteren
Received on Monday, 19 July 2004 11:51:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:35 UTC