HTML <input> Tag with the 'width' Attribute

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

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

</form>

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

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

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