title: Add html string to DOM as element
body: <p>Is there anyway to create a string and add to the DOM? And having Javascript to understand the elements in the string?</p>
  
  <pre><code>I tried the below and 4th line gives error:
  var bmdiv = document.createElement('div');
  bmdiv.setAttribute('id', 'myDiv');
  var str = "&lt;b&gt;aa&lt;/b&gt;";
  bmdiv.innerHTML(str);
  </code></pre>
  
  <p>I need to add several tags in str to the DIV myDiv</p>
  
  <p>I need NOT to use jQuery since the script will not load jQuery
  Thanks.</p>