HTML <input type="image">
Example
Define an image as a submit button:
<input type="image" src="img_submit.gif" alt="Submit">
Try it Yourself »
Definition and Usage
The <input type="image"> defines an image as a submit button.
The path to the image is specified in the src attribute.
Browser Support
Attribute | |||||
---|---|---|---|---|---|
type="image" | Yes | Yes | Yes | Yes | Yes |
Syntax
<input type="image">