Sea of Noise


Thu, 15 Sep 2005

Quirks vs. Standards Mode in Browsers

I love the W3.

Perhaps quoting from their short but sweet summary of quirks vs. standards mode will save someone else some research time (emphasis mine):

XHTML 1.0 can be served as HTML or XML. If you serve it as XML, use the MIME type application/xhtml+xml.

It is generally a good idea to use a DOCTYPE declaration at the top of an HTML or XHTML file so that the document is rendered in standards mode by more recent user agents.

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 (and therefore for a potentially large proportion of your audience).

Insert your own rant about MSIE here.

Here are some other good pages on the subject for those of us for whom a short summary will not suffice:

[/internet/www] permanent link


Syndicate Me via RSS!
(Instructions)

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.

Powered by Blosxom!