HTML <input> Tag with the 'height' Attribute

<form name="myForm" action="https://www.PuStudy.Com/resources/html-forms-action.html">

<input type="image" src="https://www.PuStudy.Com/images/examples/australia-nz-map.gif" alt="Australia & NZ Map" name="myImageField" height="142" width="200">


The above example demonstrates usage of the <input> element with the height attribute.

The height attribute is used on input controls that use an image button (i.e. type="image").

The height is used to specify the vertical dimension of the button. It is typically used with the width attribute which specifies the horizontal dimension.