title: Write HTML code with JavaScript (jquery)
body: <p>I've seen that you can dynamically add HTML with jquery:</p>
  
  <pre><code>$( "div" ).append( "&lt;p&gt;Test&lt;/p&gt;" );
  </code></pre>
  
  <p>What would be the way to dynamically add somewhat more complicated HTML:</p>
  
  <pre><code>&lt;blockquote class="col-sm-9"&gt;
    &lt;p class="lead"&gt;Lorem Ipsum&lt;/p&gt;
    &lt;footer&gt;Lorem Ipsum &lt;cite title="Source Title"&gt;Lorem Ipsum&lt;/cite&gt;&lt;/footer&gt;
  &lt;/blockquote&gt;
  </code></pre>