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

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

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

 
 
   
    

        
12条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-21 07:00

    Since I can not add a comment to the marked answer I will just post this here.

    In addition to the correct answer you can indeed have this validated. Since this meta tag is only directed for IE all you need to do is add a IE conditional.

    
    

    Doing this is just like adding any other IE conditional statement and only works for IE and no other browsers will be affected.

提交回复
热议问题