JavaScript
Result
Run
License
window.addEventListener("load", function() { const elImg = new Image(); const attrSrc = document.createAttribute("src"); attrSrc.value = "http://resrc.devdic.com/img/bykind/alpha/150x135_flower.png"; elImg.setAttributeNode(attrSrc); document.body.append(elImg); });
Console
expand_less
License
License
by DevDic
Close