Creating HTML element inside a DIV
<p>I have to create multiple checkboxes and display them in html at a specific place in the page.</p>

<p>I have created a div</p>

<pre><code>&lt;div id="htmlDiv"&gt;
&lt;/div&gt;
</code></pre>

<p>and then created checkboxes in javascript (Ihave to create them dynamically), </p>

<pre><code>function createNewCheckboxt(name, id){
var checkbox = document.createElement('input'); 
checkbox.type= 'checkbox';
checkbox.name = name;
checkbox.id = id;
return checkbox;
}
</code></pre>

<p>but how can I place these checkboxes in DIV i.e. at specific place in html page ?</p>

<p>Thanks</p>

<p>Aiden</p>