Kizspy | Question: 15
(Choose 2 answers)
1.var obj="<img src='image.jpg'>"
2.var tag=document.getElementById("demo")
3.
What statement is the right to append a new image to tag variable in the 3rd code line?
A. tag.innerHTML=obj
B. tag.value=obj
C. tag.text=obj
D. tag.innerHTML=tag.innerHTML+obj