An HTML form with an image that represents the submit button:
![]()
The alt attribute is supported in all major browsers.
The alt attribute provides an alternate text for the user, if he/she for some reason cannot view the image (because of slow connection, an error in the src attribute, or if the user uses a screen reader).
Note: The alt attribute can only be used with <input type="image">.
NONE.
| Value | Description |
|---|---|
| text | Specifies an alternate text for the image |
HTML <input> tag
Your message has been sent to W3Schools.