V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
OnlyBlue
V2EX  ›  问与答

IE9的开发人员工具上的两个菜单项“浏览器模式”和“文档模式”分别是什么意思呢?

  •  
  •   OnlyBlue · 2011-11-11 11:25:39 +08:00 · 3986 次点击
    这是一个创建于 4561 天前的主题,其中的信息可能已经有所发展或是发生改变。
    相应的菜单如下:

    浏览器模式:
    --Internet Explorer 7
    --Internet Explorer 8
    --Internet Explorer 9(9)
    --Internet Explorer 9 兼容性视图

    文档模式:
    --Quirks 模式
    --Internet Explorer 7 标准
    --Internet Explorer 8 标准
    --Internet Explorer 9 标准 (默认页面)
    4 条回复    1970-01-01 08:00:00 +08:00
    clowwindy
        1
    clowwindy  
       2011-11-11 12:04:00 +08:00
    Browser mode controls the way Internet Explorer identifies itself to the server hosting a webpage.
    Document mode controls the way Internet Explorer interprets and displays a webpage; document modes also controls the features that are enabled for a given webpage.

    http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx#Features
    OnlyBlue
        2
    OnlyBlue  
    OP
       2011-11-11 14:35:20 +08:00
    @clowwindy 多谢,权威的资料啊!可惜我看了一遍还没有理解,再慢慢琢磨吧。
    deepure
        3
    deepure  
       2011-11-11 15:27:20 +08:00
    浏览器模式是IE返回给服务器的信息,文档模式是浏览器如何来渲染网页
    OnlyBlue
        4
    OnlyBlue  
    OP
       2011-11-11 16:20:29 +08:00
    @deepure 明白了,多谢!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1050 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:15 · PVG 04:15 · LAX 13:15 · JFK 16:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.