-
How image attribute works?
-
- Bring default image to the page
- Sets an image background
- Set an image as submit button
- Set an image anywhere on the page
- None of these
Correct Option: C
the image input type set an image as submit button. The syntax is <input type=”image” src=”imghj.gif” alt=”Submit”> this sets the image provided by url as the submit button. Input type image sends the X and Y coordinates of click and hence the image is activated by clicking the submit button.