title: How to load a local web page in javascript
body: <p>I'm trying to load a local web page executing:</p>
  
  <pre><code>var html = document.open('google.html');
  document.documentElement.innerHTML = html;
  </code></pre>
  
  <p>It loads the page but it's not well formatted and images won't display. How could I load the entire contents?</p>
  
  <p>Thanks</p>