html - How IE Document modes are automatically selected -


might pretty basic bit confused about, how ie automatically determines browser mode selected, can see list of browser modes in ie9 ie9 compatibility mode, ie9, ie8, ie7. these modes automatically selected based on webpage.

how browser mode automatically selected in ie browsers?

thanks

sites use x-ua-compatible meta tag. see further information: msdn

for example:

<html>    <head>    <!-- mimic internet explorer 8 -->       <title>my web page</title>       <meta http-equiv="x-ua-compatible" content="ie=emulateie8" />    </head>    <body>       <p>content goes here.</p>    </body> </html> 

Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -