X-UA-COMPATIBLE is used to specify the Model of the IE browser parsing and compilation page
The X-UA-COMPATIBLE header tag is not sensitive and must be used in the head. It must be used before other Meta except Title.
1. Use a line of code to specify the browser to use a specific document mode.<meta http-equiv = x-ua-compatible content = 9> <meta http-equiv = x-ua-compatible content = IE = 8> <meta http-equiv = x-ua-composition = i E = 7 "2. In some cases, we need to limit the analysis of the document to a specific version of the browser, or limit the browser to the performance of some old versions. Can be used in the following way:
<meta http-equiv = x-ua-compatible content = ie = emulateie9> <meta http-equiv = x-ua-compatible conense = ie = emulatie8> <Metta HTTP-EQUIV = X-Uaaa -Compatible Content = IE = EmulaTeie7 "
Using this writing, browser or standard mode for analysis, or use the IE5 Quirks mode for analysis.
3. In order to test, we can also use the following statements to specify the browser to analyze the page according to the highest standard mode.<meta http-equiv = x-ua-composition content = ie = edge>4. Specify multiple modes. We can divide multiple versions with a comma. In this case, the browser will select one of the highest versions he supports from this list to render the standard mode. For example, when browsing IE8, the standard mode of IE7 will be rendered because he does not support IE9 and IE10.
<meta http-equiv = x-ua-composition content = ie = 7,9,10>
The above is all the contents of this article. I hope that the content of this article will help everyone's learning or work. At the same time, I also hope that more support VEVB Wulin.com!