Search code examples
htmlinternet-explorermeta

Difference between IE compatibility meta tags


What on earth is the difference between :

<meta http-equiv="X-UA-Compatible" content="IE=11">

AND

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">

?


Solution

  • If you type MSDN X-UA-Compatible in your favourite search engine you'll find the official documentation which says:

     X-UA-Compatible value | Document modes
     ----------------------+---------------------------------------------------------
     E=11                  | IE11 mode
     IE=EmulateIE11        | IE11 mode (if a valid <!DOCTYPE> declaration is present)
                           | Quirks Mode (otherwise)