UpTest > Web Development Internet Programming > DHTML Test

Test: DHTML Test

Question 38: Prev Next
How would you double the image size of an Image on a mouseover event, if the original width and height are 100px and id is logo?
document.getElementById('logo').style.width="200"
document.getElementById('logo').style.height="200"
document.getElementById('logo').style.width="100"
document.getElementById('logo').style.height="100"
document.getElementById('logo').width="200"
document.getElementById('logo').height="200"
document.getElementById('logo').width="200px"
document.getElementById('logo').height="200px"
Please login to submit your answer.