Create working form inside div using JUST code
<p>I have a div:</p>

<pre><code>&lt;div id="test"&gt;Text to be removed&lt;/div&gt;
</code></pre>

<p>How can I add this complete form into the div, using JUST code (starting from nothing, meaning the form element does not exist anywhere in the page):</p>

<pre><code>&lt;form name="input" action="html_form_action.asp" method="get"&gt;
Edit: &lt;input type="text" name="tex" value="Some text here to edit"/&gt;
&lt;input type="submit" value="Submit" /&gt;
&lt;/form&gt; 
</code></pre>
