X-UA-Compatible 元标记应该出现在字符集标记之前还是之后
Should the X-UA-Compatible meta tag come before or after the charset tag
我需要强制 IE9 使用其标准模式,并且有以下 HTML:
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<meta charset="utf-8">
标签出现在 X-UA-Compatible
标签之前是否正确?
The X-UA-Compatible
header isn't case sensitive; however, it must appear in the header of the webpage (the HEAD section) before all other elements except for the title element and other meta elements.
我需要强制 IE9 使用其标准模式,并且有以下 HTML:
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<meta charset="utf-8">
标签出现在 X-UA-Compatible
标签之前是否正确?
The
X-UA-Compatible
header isn't case sensitive; however, it must appear in the header of the webpage (the HEAD section) before all other elements except for the title element and other meta elements.