Can insertBefore insert HTML tags?
<p>In the script below, i am inserting some code at the beginning of a DIV.</p>

<pre><code>    var mydiv = document.getElementById("myDIV");
    var mycontent = document.createElement("p");
    mycontent.insertBefore(document.createTextNode("Hello &lt;b&gt;World&lt;/b&gt;&lt;br&gt;&lt;bR&gt;"));
    mydiv.insertBefore(mycontent,mydiv.firstChild);
</code></pre>

<p>On my website, the code is inserted as text and the HTML formatting is ignored. Does anyone know how to have code inserted into a DIV using javascript?</p>
