<pre id="1qwpn"></pre>

    1. <code id="1qwpn"><small id="1qwpn"><optgroup id="1qwpn"></optgroup></small></code>
    2. <strike id="1qwpn"></strike>
        <tr id="1qwpn"><option id="1qwpn"></option></tr><big id="1qwpn"></big><th id="1qwpn"><address id="1qwpn"></address></th>
        <code id="1qwpn"><small id="1qwpn"><track id="1qwpn"></track></small></code>
        <code id="1qwpn"><small id="1qwpn"><optgroup id="1qwpn"></optgroup></small></code>

      1. <center id="1qwpn"><em id="1qwpn"></em></center>
        本頁是 X-UA-Compatibility Meta Tag and HTTP Response Header 的文字副本。查看原網頁

        X-UA-Compatibility Meta Tag and HTTP Response Header

        This functionality will not be implemented in any version of Microsoft Edge.

        Web developers can also specify a document mode by including instructions in a meta element or HTTP response header:

        If both of these instructions are sent, the developer's preference (meta element) takes precedence over the web server setting (HTTP header).

        For more information about how to control default rendering with document modes, see "META Tags and Locking in Future Compatibility" at [MSDN-METATagsLocking].

        The X-UA-Compatible value determines Windows Internet Explorer's document as follows:

        X-UA-Compatible value

        Document modes

        IE=5

        Quirks Mode

        IE=7

        IE7 mode

        IE=8

        IE8 mode

        IE=9

        IE9 mode

        IE=10

        IE10 mode

        IE=11

        IE11 mode

        IE=edge

        The highest supported document mode of the browser

        IE=EmulateIE7

        IE7 mode (if a valid <!DOCTYPE> declaration is present)

        Quirks Mode (otherwise)

        IE=EmulateIE8

        IE8 mode (if a valid <!DOCTYPE> declaration is present)

        Quirks Mode (otherwise)

        IE=EmulateIE9

        IE9 mode (if a valid <!DOCTYPE> declaration is present)

        Quirks Mode (otherwise)

        IE=EmulateIE10

        IE10 mode (if a valid <!DOCTYPE> declaration is present)

        Quirks Mode (otherwise)

        IE=EmulateIE11

        IE11 mode (if a valid <!DOCTYPE> declaration is present)

        Quirks Mode (otherwise)

        For example, in Windows Internet Explorer 8, IE=9, IE=Edge, and IE=EmulateIE9 result in IE8 mode.

        Browser emulation modes are not document modes. They instruct Internet Explorer about how to select a document mode when a valid <!DOCTYPE> declaration is included.

        The following diagram shows how Internet Explorer determines the appropriate document mode based on the meta element or HTTP header.

        技術參考資料

        Copyright © 2014 - 2019 End of IE SUPPORT. All Rights Reserved

        大香蕉影