Doctype switching and standards compliance: An overview

@ 01:38 | linkki

Some modern browsers have two rendering modes. Quirk mode renders an HTML document like older browsers used to do it, e.g. Netscape 4, Internet Explorer 4 and 5. Standard mode renders a page according to W3C recommendations.

And as you may or may not know, Internet Explorer has always had (and still has in version 6) a very regrettable bug: If there is anything before the DOCTYPE declaration, it will switch to quirk mode. This means that the usual XML declaration, e.g. <?xml version="1.0" encoding="UTF-8"?>, will cause the browser to use quirk mode.
M. Gutfeldt theodorakis.net




Kommentit (0):





Kommentointi on suljettu.

« Takaisin pääsivulle