Hello guys, I'm just learning about HTML DOM and have the following question. If you want to create something like:
with HTML DOM, then I believe you can do that in the following ways: 1) var newA = document.createElement('a'); newA.innerHTML = ""; or 2) var newA = document.createElement('a'); var newI = document.createElement('img'); newA.appendChild(newI); I believe both codes will ...