![]() |
VOOZH | about |
The HTML <input type="image"> element is used to create an image-based submit button in a form. Clicking the image submits the form data to the server.
Syntax:
<input type="image">Example: In this example, we will use the HTML <input type="image"> element to create an image-based submit button for a form.
Example 2: In this example, we will make a login form & use the image as an input type to submit the form.