HTML | <input> height Attribute
The HTML <input> height Attribute is used to specify the height of the element. This Attribute is only used for input type=”image”.
Syntax:
<input height="pixels">
Attribute Values: It contains the value i.e pixels which specify the height of the input Element.
Example:
<!DOCTYPE html> <html> <head> <title> HTML Input Image height Attribute </title> </head> <body style="text-align:center;"> <h1 style="color:green;"> GeeksForGeeks </h1> <h2>HTML Input image Height Attribute</h2> <input id="myImage" type="image" src= alt="Submit" width="70" height="96" /> </body> </html> |
chevron_right
filter_none
Output:

Supported Browsers: The browser supported by HTML <input> height Attribute are listed below:
- Google Chrome
- Internet Explorer 10.0 +
- Firefox
- Opera
- Safari
Recommended Posts:
- HTML | <img> height Attribute
- HTML | height Attribute
- HTML | <th> height Attribute
- HTML | <td> height Attribute
- HTML | <video> height Attribute
- HTML | <video> height Attribute
- HTML | <object> height Attribute
- HTML | <iframe> height Attribute
- HTML | Marquee height attribute
- HTML | <canvas> height Attribute
- HTML | <embed> height Attribute
- HTML | DOM Video height Property
- HTML | Screen height Property
- HTML | DOM Style height Property
- HTML | DOM IFrame height Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



