[whatwg] Configure Apache to send the right MIME type for XHTML

David Walbert dwalbert at learnnc.org
Wed Mar 7 06:29:29 PST 2007


On Mar 7, 2007, at 9:12 AM, Elliotte Harold wrote:

> Alexey Feldgendler wrote:
>
>> Interesting, but not of much use. If an author really wants to  
>> support MSIE, she needs to not only ensure that MSIE tries to  
>> render the document at all by setting its MIME type to text/html,  
>> but also to not use anything XHTML-specific that isn't possible in  
>> HTML, e.g. <p> inside <li>, or inline SVG. And if one isn't going  
>> to use these features anyway, there is no reason to prefer XHTML  
>> over HTML other than following the fashion.
>
> Documents on the web aren't just about browsers, and certainly not  
> just about IE. There are many interesting things you can do with  
> XHTML documents you can't do with non-well-formed HTML documents.

Or export them to PDF via PrinceXML, for example. The ability to mark  
up content once but publish it twice, in a usable, attractive format  
both for the web and for print, gives XHTML tremendous practical  
value for web publishers. It isn't just theoretical or fashionable  
anymore.

_____
David Walbert
LEARN NC, UNC-Chapel Hill
dwalbert at learnnc.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070307/e60c3d97/attachment.htm>


More information about the whatwg mailing list