IE 兼容性元标记之间的区别
Difference between IE compatibility meta tags
到底有什么区别:
<meta http-equiv="X-UA-Compatible" content="IE=11">
和
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">
?
如果您在您最喜欢的搜索引擎中输入 MSDN X-UA-Compatible
,您会找到 official documentation,上面写着:
X-UA-Compatible value | Document modes
----------------------+---------------------------------------------------------
E=11 | IE11 mode
IE=EmulateIE11 | IE11 mode (if a valid <!DOCTYPE> declaration is present)
| Quirks Mode (otherwise)
到底有什么区别:
<meta http-equiv="X-UA-Compatible" content="IE=11">
和
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">
?
如果您在您最喜欢的搜索引擎中输入 MSDN X-UA-Compatible
,您会找到 official documentation,上面写着:
X-UA-Compatible value | Document modes ----------------------+--------------------------------------------------------- E=11 | IE11 mode IE=EmulateIE11 | IE11 mode (if a valid <!DOCTYPE> declaration is present) | Quirks Mode (otherwise)