Image.height : img : HTML Tags JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » HTML Tags » img »

 

Image.height








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.navioo.com/style/logo.png"
         height=200>
    <br>
    <script language="JavaScript">
    <!--
    document.write(document.circle.height, " pixels.");
    -->
    </script>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo HTML Tags
» img