Search code examples
quirks-mode

with xhtml documnent , how do one trigger quirk mode?


With the Xhtml document , how do you trigger quirk mode in internet explorer? is it related to meta tag or doc type?


Solution

  • Internet Explorer doesn't support XHTML. In order to be XHTML it must be served with the application/xhtml+xml content-type, but IE doesn't support that. If you use text/html it will be parsed as HTML regardless of DOCTYPE.