<input type="image" /> Description:
The <input type="image" /> tag creates submit buttons using images.
<input type="image" /> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0
XHTML Forms Module XHTML Intrinsic Events Module
<input type="image" /> Attributes:
<input type="image" /> Usage:
- standard image field:
<form onSubmit="javascript:alert('clicked!'); return false;">
Click on the animal picture to submit the form
<input type="image" src="/library/graphics/cecb2.gif" value="Click here" size="32,32" border="0" />
</form>
<input type="image" /> Special Notes:
- The image submit button sends both the value of the submit button and the x and y coordinates where the button was clicked.
- The image type is used in the same fashion as a submit button, only with an image to click on.
More <input type="image" /> Information:

