title: Javascript created Checkbox does not close off tag properly
body: <p>If I create a checkbox like this, and add it to my table [TD] tag :</p>
  
  <pre><code>var chkBx = document.createElement('input');
  chkBx.type = 'checkbox';
  
  td.appendChild(chkBx);
  </code></pre>
  
  <p>it will create </p>
  
  <pre><code>&lt;tr&gt;
      &lt;td&gt;
          &lt;input type="checkbox" value="Current Issue"&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>This input tag has not been closed off propertly. This is causing problems elsewhere in my code (for example the hover doesnt work).</p>
  
  <p>Is there something i need to do in my Javascript to get this to close off properly?</p>