The height and width Attributes
The height and width Attributes
- Specify the height and width of an <input type="image"> element.
- Always specify the size of images. If the browser does not know the size, the page will flicker while images load.
- //define an image as the submit button, with height and width attributes <input type="image" src="img_submit.gif" alt="Submit" width="48" height="48">.
Related concepts
→
The height and width Attributes