snipt

Ctrl+h for KB shortcuts

HTML

IE 9 compatibility meta tag

<meta http-equiv="X-UA-Compatible" content="IE=9" />
https://snipt.net/embed/367368e635de024bda2c932056ed7ae7/
/raw/367368e635de024bda2c932056ed7ae7/
367368e635de024bda2c932056ed7ae7
html
HTML
1
2019-08-18T10:06:26
True
False
False
/api/public/snipt/27535/
ie-9-compatibility-meta-tag
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="p">&lt;</span><span class="nt">meta</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">&quot;X-UA-Compatible&quot;</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;IE=9&quot;</span> <span class="p">/&gt;</span> </span></pre></div> </td></tr></table>
death, ie, ie9

HTML

Forcing IE9 to compatibility mode

1
2
3
4
<!-- Force IE9 to IE8 compatibility mode -->
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<!-- Force IE9 to IE7 compatibility mode -->
<meta http-equiv="X-UA-Compatible" content="IE=7" />
https://snipt.net/embed/9d683989e06e6db6f50a48016a39b823/
/raw/9d683989e06e6db6f50a48016a39b823/
9d683989e06e6db6f50a48016a39b823
html
HTML
4
2019-08-06T07:03:46
True
False
False
/api/public/snipt/18582/
forcing-ie9-to-compatibility-mode
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c">&lt;!-- Force IE9 to IE8 compatibility mode --&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">meta</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">&quot;X-UA-Compatible&quot;</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;IE=8&quot;</span> <span class="p">/&gt;</span> </span><span id="L-3"><a name="L-3"></a><span class="c">&lt;!-- Force IE9 to IE7 compatibility mode --&gt;</span> </span><span id="L-4"><a name="L-4"></a><span class="p">&lt;</span><span class="nt">meta</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">&quot;X-UA-Compatible&quot;</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;IE=7&quot;</span> <span class="p">/&gt;</span> </span></pre></div> </td></tr></table>
fix, html, ie9