{"id":1193,"date":"2007-07-13T17:25:30","date_gmt":"2007-07-13T17:25:30","guid":{"rendered":"http:\/\/www.w3.org\/blog\/Internationaltmp\/2007\/07\/13\/updated_tutorial_serving_xhtml_1_0\/"},"modified":"2011-09-29T12:13:27","modified_gmt":"2011-09-29T12:13:27","slug":"updated_tutorial_serving_xhtml_1_0","status":"publish","type":"post","link":"https:\/\/www.w3.org\/blog\/International\/2007\/07\/13\/updated_tutorial_serving_xhtml_1_0\/","title":{"rendered":"Updated tutorial: Serving XHTML 1.0"},"content":{"rendered":"<div><a href=\"http:\/\/www.w3.org\/International\/tutorials\/tutorial-char-enc\">Read the tutorial<\/a><\/div>\n<p>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.<\/p>\n<p>The following paragraphs were changed as shown by the ins and del markup.<\/p>\n<p>&lt;p&gt;In browsers such as &lt;ins&gt;Internet Explorer 7, Firefox,&lt;\/ins&gt;&lt;del&gt;Mozilla&lt;\/del&gt;, Netscape, Opera, and others, with or without the XML declaration, a page served with a DOCTYPE declaration will be rendered in standards mode.&lt;\/p&gt;<br \/>\n&lt;p&gt; With Internet Explorer&lt;ins&gt; 6&lt;\/ins&gt;, however, if anything appears before the DOCTYPE declaration the page is rendered in quirks mode. &lt;\/p&gt;<br \/>\n&lt;p&gt;Because Internet Explorer &lt;ins&gt; 6&lt;\/ins&gt; users &lt;ins&gt;still&lt;\/ins&gt; 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.&lt;\/p&gt;<br \/>\n&lt;p&gt;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 &lt;ins&gt; 6&lt;\/ins&gt; (and therefore for a potentially large proportion of your audience).&lt;\/p&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/www.w3.org\/blog\/International\/2007\/07\/13\/updated_tutorial_serving_xhtml_1_0\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":79,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[76],"class_list":["post-1193","post","type-post","status-publish","format-standard","hentry","category-update","tag-tutorial-char-enc"],"_links":{"self":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/posts\/1193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/users\/79"}],"replies":[{"embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/comments?post=1193"}],"version-history":[{"count":1,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/posts\/1193\/revisions"}],"predecessor-version":[{"id":1611,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/posts\/1193\/revisions\/1611"}],"wp:attachment":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/media?parent=1193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/categories?post=1193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/tags?post=1193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}