title: Push link inside html using javascript
body: <p>I have a div tag </p>
  
  <pre><code>&lt;div id="img"&gt; &lt;div&gt;
  </code></pre>
  
  <p>and a script in page</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
   function img(){
     document.getElementById('img').innerHTML="&lt;a href="/lime/link.html"&gt;&lt;img src="/lime/img.png"&gt;&lt;/a&gt;";}
  &lt;/script&gt;
  </code></pre>
  
  <p>how to put the image on the div with link on pageload?</p>