title: For IE10, why the WebBrowser control's default quirks mode is "Internet Explorer 5 quirks"?
body: <p>From this article <a href="http://blogs.msdn.com/b/ie/archive/2011/12/14/interoperable-html5-quirks-mode-in-ie10.aspx" rel="nofollow">Interoperable HTML5 Quirks Mode in IE10</a>, the <strong>HTML5-based quirks mode</strong> is the default quirks mode in IE10 for those pages without a DOCTYPE or X-UA-Compatible tag. IE's legacy quirks mode is now referred to as <strong>Internet Explorer 5 quirks</strong>. </p>
  
  <p>In the official IE10, it is. But not in the WebBrowser control. The default quirks mode is IE5 quirks in the WebBrowser control application.</p>
  
  <p>For example: for a simplest html page that without DOCTYPE or X-UA-Compatible tag:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="UTF-8" /&gt;
  &lt;title&gt;Get documentMode!&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h2&gt;document.documentMode&lt;/h2&gt;
  &lt;p&gt;
  &lt;script&gt;
  document.write(document.documentMode);
  &lt;/script&gt;
  &lt;p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The documentMode = 10 in Official IE10, but the documentMode = 5 in WebBrowser control application ( before test, I have added the registry item value: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\MyApp.exe to 10000, or 10001 in decimal).</p>
  
  <p>Why the behavior is different? </p>
  
  <p>How can I configure the default quirks mode of WebBrowser control application to "HTML5-based quirks mode" ?</p>
  
  <p>Thanks for your reply in advance.</p>