![]() |
VOOZH | about |
The HTML <input> alt attribute provides alternative text for an image used in an input element. It is mainly used with type="image" to display text if the image cannot be loaded.
Syntax:
<input type="image" src="submit.png" alt="Submit Button">Attribute Values: It contains single value text which is used to specify the alternative text for input if the image is not displaying.