title: how we can open a new browser window for preview of html
body: <p>I am working on html and jquery . I am trying to open a new window of browser with my html code . I got some information regarding DOM window open method but that method always open a new tab but I want open a new different window . please anyone help me following is w3schools example for reference .</p>
  
  <pre><code>function myFunction() {
      var w = window.open();
      w.document.open();
      w.document.write("&lt;h1&gt;Hello World!&lt;/h1&gt;");
      w.document.close();
  }
  </code></pre>