img = document.createElement('img');img.src = 'http://site.com/image.jpg';document.getElementById('result').appendChild(img);