|
XHTML, the real IE-killer
|
|
Posted by: stak
Posted on: 2008-10-16 21:28:30
Opera seems to be (again) trying to drag the web, kicking and screaming, into the 21st century. According to their study a ridiculously large proportion of web pages aren't standards compliant. It's good to have a hard number to quote now, rather than just complaining vaguely. Hopefully this will prod web developers into putting a little more effort into validating their web pages. It's been a long-standing pet peeve of mine that websites stick on "W3C Validated" buttons on their pages even though the pages are no longer valid.
Anyway, in order to stay ahead of the curve, I've now moved this website along to the next step: switching to the XHTML content-type. This site has always been valid XHTML, but it was always being served under the text/html content-type. It is now served as application/xhtml+xml which is more accurate and strict, since it forces browsers to parse it using an XML parser rather than an HTML parser. Validity is now enforced; if I introduce any errors in the site it will simply fail to render rather than falling into browser-dependent error handling behavior.
This also means that this site will no longer render in IE, which doesn't support the XHTML content-type. I'm not even going to bother with server-side IE detection in order to display an error message; they've had long enough to get their act together. Anybody who's still using IE needs to move on.
As usual, post a comment or send me a message using the contact form (in the "About" section) if you run into any problems. But not if you're using IE.
|
|
(c) Kartikaya Gupta, 2004-2025. User comments owned by their respective posters. All rights reserved.
You are accessing this website via IPv4. Consider upgrading to IPv6!
|
A) IE will already be supporting it
B) IE will already be dead (or well on its way to dead)
In that sense I disagree with the post.