The height property of the Image object specifies the height of the image in pixels.
This property can only be set by the HEIGHT attribute of the tag.
<html> <head> <title>Example of height property</title> </head> <img name="circle" src="http://www.java2s.com/style/logo.png" height=200> <br> <script language="JavaScript"> <!-- document.write(document.circle.height, " pixels."); --> </script> </html>