[_] Where's the STRICT !!
Tim Beadle
tim.beadle at gmail.com
Wed Feb 20 10:56:27 GMT 2008
On Feb 20, 2008 10:11 AM, Stu Moran <stu at moranic.com> wrote: > Good luck indeed... v1.1 is particularly hideous in terms of accessibility > and xhtml compliance.... Of course, there's no practical benefit to using XHTML 1.0 vs HTML 4.01 anyway. They're still rendered in the tag soup parser unless you send XHTML with the MIME Type application/xhtml+xml, which IE doesn't support. Yes, you can header sniff and send the appropriate MIME Type, but even then you run the risk of a single validation error breaking the display of the entire site in browsers using their XML parsers (e.g. the Firefox Beige Screen of Death), and for what discernible benefit, exactly? That then raises the issue of having to use different DOM Scripting methods depending on the MIME Type (document.createElement() vs document.createElementNS()). In short - why bother with XHTML? Tim