W3C   Internationalization (I18n) Activity: Making the World Wide Web truly world wide!

Aggregated data

New! Planet i18n

Google blogsearch

Bloglines blogsearch

Technorati blogsearch

Del.icio.us search

Del.icio.us tags

News by category

Search for news

News archives

Pre-blog archive

Admin

Updated tutorial: Serving XHTML 1.0

13 July 2007

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. [search keys: tutorial-char-enc]

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>

Categories: Update

Comments, Pingbacks:

No Comments/Pingbacks for this post yet...

Comments are closed for this post.


Questions or comments? ishida@w3.org
Powered by b2evolution