height attribute

<input height='value'>


Height Attribute allows the user to mention the "Height" of an image given in <input>.

Example Code:

Result :

  • Height attribute is used only with the input type "Image".
  • If the height is not mentioned, then the browser takes the original height of an image.


It will function in all the browsers, except Internet Explorer.

Ask Questions

Ask Question