title: How to set image via innerHTML
body: <p>Confusing question...</p>
  
  <p>In echo i have blank page.. if i set innerHTML="some text"; - it works. Why it's not working with image? If i directly goes to <a href="https://domain.com/adv/banner.jpg" rel="noreferrer">https://domain.com/adv/banner.jpg</a> it will open image...</p>
  
  <pre><code>echo'
    &lt;div id="yabanner"&gt;&lt;/div&gt;
  
    &lt;script&gt;
    yaGetBanner();
    function yaGetBanner()
    {
      var el = document.getElementById("yabanner");
      el.innerHTML="&lt;img src=\'https://domain.com/adv/banner.jpg\' width=\'400px\' height=\'150px\'&gt;";
    }
    &lt;/script&gt;
    ';
  </code></pre>