title: Why isn't there a document.createHTMLNode()?
body: <p>I want to insert html at the current range (a W3C Range). </p>
  
  <p>I guess i have to use the method insertNode. And it works great with text.</p>
  
  <p>Example:</p>
  
  <pre><code>var node = document.createTextNode("some text");
  range.insertNode(node);
  </code></pre>
  
  <p>The problem is that i want to insert html (might be something like "&lt;h1&gt;test&lt;/h1&gt;some more text"). And there is no createHTMLNode().</p>
  
  <p>I've tried to use createElement('div'), give it an id, and the html as innerHTML and then trying to replace it with it's nodeValue after inserting it but it gives me DOM Errors. </p>
  
  <p>Is there a way to do this without getting an extra html-element around the html i want to insert? </p>