title: How to set document mode to Edge in IE11 Win8.1
body: <p>The last year, I've created some html5 (with some php in, but that's not relevant I think) websites and everything went well in Internet Explorer 10, Chrome, Firefox....</p>
  
  <p>But last week, my boss orderd a new pc with Windows 8.1 on it, and ofc. IE 11, and all my websites look ugly. I checked with F12 tools and on the emulation tab, it says Documentmode = 7 (default). If I change it to Edge, everything shows as it should be....but after a refresh it just jumps back to 7.</p>
  
  <p>I always used <code>&lt;!DOCTYPE html&gt;</code> on top of my pages and always worked in the past. But now, IE11 on win8.1 seems to ignore it.
  The reason why I think it's Windows 8(.1) only is because I have also IE11 installed, but on a Windows7 PC.
  I double checked and there are no websites added to the list for compabilityview on both PC's</p>
  
  <p>After some searching I found <code>&lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;</code> and it works!</p>
  
  <p>But I can't find anywhere <strong>why</strong> it is like this and if there is another solution instead of opening every page of every website I've created and adding the meta-tag... </p>
  
  <p><em>My first question here, hope I did well :-)</em></p>