css for images inside div tag code example
Example: change the style of img inside a div tag
document.getElementById("test")
.getElementsByTagName("img")[0].style.display="block";
document.getElementById("test")
.getElementsByTagName("img")[0].style.display="block";