title: Setting document mode in Internet Explorer
body: <p>I have this old web site that runs fine in IE8, but stops working in IE10.  I tested this by setting the document mode in the Developer tools (F12) to "standard settings for IE8" (ALT-8).</p>
  
  <p>To set the document mode in IE with HTML I have added a meta tag in my page; it now starts with this:</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  ...
  &lt;meta http-equiv="X-UA-Compatible" content="IE=8"&gt;
  </code></pre>
  
  <p>If I now go back to the page it doesn't work.  The browser DOES see the meta tag tho: in the developer tools the option "Standard setting for IE8" (ALT-8) now has an added "(Standard settings for this page).  If I chose this option the page works fine.  Problem though is that when I use the first option  - "standard settings" (ALT-S) the page does not work.  Even though these standard settings should be the IE8 standard settings.  What is going wrong?</p>