Internationalization (i18n)

Making the World Wide Web worldwide!


News by category
News archives
July 2011 (13)
July 2009 (10)
June 2009 (10)
June 2008 (13)
Search news

Updated tutorial: Serving XHTML 1.0

Read the tutorial

This tutorial was updated to reflect the fact that IE7 no longer flips into quirks mode when an XML declaration is used. For a detailed list of changes read the full post.

The following paragraphs were changed as shown by the ins and del markup.

<p>In browsers such as <ins>Internet Explorer 7, Firefox,</ins><del>Mozilla</del>, Netscape, Opera, and others, with or without the XML declaration, a page served with a DOCTYPE declaration will be rendered in standards mode.</p>
<p> With Internet Explorer<ins> 6</ins>, however, if anything appears before the DOCTYPE declaration the page is rendered in quirks mode. </p>
<p>Because Internet Explorer <ins> 6</ins> users <ins>still</ins> count for a very large proportion of browser users, this is a significant issue. If you want to ensure that your pages are rendered in the same way on all standards-compliant browsers, you need to think carefully about how you deal with this.</p>
<p>The presence of an XML declaration in an XHTML 1.0 file served as HTML will cause your file to be rendered in quirks mode on Internet Explorer <ins> 6</ins> (and therefore for a potentially large proportion of your audience).</p>

Leave a Reply

Your email address will not be published. Required fields are marked *

Before you comment here, note that your IP address is sent to Akismet, the plugin we use to mitigate spam comments.


Copyright © 2025 World Wide Web Consortium.
W3C® liability, trademark and permissive license rules apply.

Questions or comments? xfq@w3.org