X-ua-compatible is a proprietary <meta> attribute of IE8, which tells IE8 which version of IE to use to render Web pages. Can be used in the
What's to use x-ua-compatible?
In the IE8 just launched, many web pages due to the problem of refactoring, unable to adapt to a higher browser, so use x-ua-compatible tag force IE8 to be rendered in a low-version manner .
Using this code, developers do not have to consider whether the Web page is compatible with IE8 browser, as long as the Web page in IE6, IE7 performance.
<meta http-equiv= "x-ua-compatible" content= "Ie=emulatele7"/>//emulate Simulation
To add a x-ua-compatible tag to the website, it is recommended to write:
<meta http-equiv= "x-ua-compatible" content= "ie=edge,chrome=1.0"/>
Ie=edge tells IE to render the webpage using the latest engine, chrome=1.0 can activate the chrome Frame
<meta http-equiv= "x-ua-compatible" content= "Ie=edge" > What is it?