title: How to insert a large block of HTML in JavaScript?
body: <p>If I have a block of HTML with many tags, how do insert it in JavaScript?</p>
  
  <pre><code>var div = document.createElement('div');
  div.setAttribute('class', 'post block bc2');
  div.innerHTML = 'HERE TOO MUCH HTML that is much more than one line of code';
  document.getElementById('posts').appendChild(div);
  </code></pre>
  
  <p>How do I do it right?</p>