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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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