We can set HTML rendering mode using Meta Tag.
<meta http-equiv="X-UA-Compatible" content="IE=5" />
This is set compatible mode to IE-5, like wise there are few modes we can set using a meta tag.
content="IE=5" - force to render in “Quirks” mode.
content="IE=7" - forces to render in IE 7 Strict mode.
content="IE=EmulateIE7" - use !DOCTYPE declaration to detect rendering mode
content="IE=8" - forces to render Internet Explorer Standards mode.
content="IE=EmulateIE8" - use !DOCTYPE declaration to detect rendering mode
content="edge" - use most recent mode
Reference http://hsivonen.iki.fi/doctype/
We can use Web Config to alter the page rendering mode
<httpProtocol>
<customHeaders>
<remove name="X-UA-Compatible"/>
<add name="X-UA-Compatible" value="IE=edge"/>
</customHeaders>
</httpProtocol>
Comments