title: add a button using javascript to an existing DIV
body: <p>On my page I have:</p>
  
  <pre><code> &lt;div id='something'&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and I want to append this type of 'button' to it using JS:</p>
  
  <pre><code>&lt;a href="/news_events/"&gt;&lt;span class="picon-p-add-news"&gt;&lt;/span&gt;Read more news&lt;/a&gt;
  </code></pre>
  
  <p>I tried to use document.createElement but I'm not sure how to make it not just append it as text.  How do I do this ?</p>