Change the height of an image : Image Img : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Image Img »

 

Change the height of an image




<html>
<head>
<script type="text/javascript">
function setHeight(){
    var x=document.images
    x[0].height="250"
}
</script>
</head>

<body>
<img src="http://www.navioo.com/style/logo.png" width="107" height="98" />
<form>
<input type="button" onclick="setHeight()" value="Change image height">
</form>
</body>

</html>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Image Img