Skip to content
Related Articles

Related Articles

HTML | <input> height Attribute

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 30 May, 2019

The HTML <input> height Attribute is used to specify the height of the element. This Attribute is only used for input type=”image”.


<input height="pixels"> 

Attribute Values: It contains the value i.e pixels which specify the height of the input Element.


<!DOCTYPE html>
        HTML Input Image height Attribute
<body style="text-align:center;">
    <h1 style="color:green;"
    <h2>HTML Input image Height  Attribute</h2>
    <input id="myImage" 
           height="96" />


Supported Browsers: The browser supported by HTML <input> height Attribute are listed below:

  • Google Chrome
  • Internet Explorer 10.0 +
  • Firefox
  • Opera
  • Safari

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!