What does <meta http-equiv=“X-UA-Compatible” content=“IE=edge”> do?

后端 未结 12 1438
情书的邮戳
情书的邮戳 2020-11-21 06:11

What\'s the difference if one web page starts with

 
 
   
    

        
12条回答
  •  长发绾君心
    2020-11-21 07:00

    if you use your website in the same network as the server IE likes to switch to compability mode despite DOCTYPE.
    Adding meta http-equiv="X-UA-Compatible" content="IE=Edge" disables this unwanted behaviour.

提交回复
热议问题