'height' Example : Image Img : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Image Img »

 

'height' Example



    
<html>
<body>
<script>
    function function1() {
        document.all.myImage.height = "150";
    }
</script>
<img id="myImage" 
     src="http://www.navioo.com/style/logo.png" 
     alt="http://www.navioo.com">
<button onclick="function1();">Change Height to 150</button>
</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