internet-explorer-8 - IE8如何处理这个标签 <meta http-equiv =“X-UA-Compatible” content =“IE=9”/>

标签 internet-explorer-8 x-ua-compatible

我知道<meta http-equiv=“X-UA-Compatible” content=“IE=9” />将强制 IE9 以 IE9 标准方式显示页面。我想知道的是IE8如何处理这个标签?

以 IE 8 标准模式还是兼容模式渲染页面? (找不到任何带有IE8的XP)

最佳答案

If a webpage specifies a document compatibility mode that is not supported by the version of Internet Explorer used to view the webpage, the webpage will be displayed in the highest document mode supported by that version of Internet Explorer. For example, a page that specifies IE9 mode will be displayed in IE8 mode when viewed by Internet Explorer 8. Earlier versions of the browser will use the directive, if any, to determine how to display the webpage.

来自:http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx#Content

关于internet-explorer-8 - IE8如何处理这个标签 &lt;meta http-equiv =“X-UA-Compatible” content =“IE=9”/>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11211880/

相关文章:

internet-explorer - meta http-equiv ="X-UA-Compatible"content ="IE=edge"对非IE浏览器有影响吗?

javascript - IE8 上的 pauseVideo() 用于 youtube 视频,提供 "Object doesn' t 支持此属性或方法”

internet-explorer-9 - x-ua 兼容每次都不工作

javascript - 重新编写一个选择事件导航选项卡以在 IE8 中工作的 Javascript 函数

javascript - jQuery 在 Internet Explorer 8 中不起作用 ("this"返回 DOM 而不是 jq)

css - Kentico 不适用于 IE8

php - X-UA-与 HTTP header 的兼容性

javascript - IE8 是否丢失了 document.frames 集合?

javascript - 如何强制 IE 重新加载 javascript?