I need to force IE9 to use its standards mode, and have the following HTML:
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
Is it correct to have the <meta charset="utf-8">
tag appear before the X-UA-Compatible
tag?
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.
Source: Specifying Legacy Document Modes