Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

How image attribute works?

a) Sets an image background
b) Set an image as submit button
c) Set an image anywhere on the page
d) Bring default image to the page

Answer: b
Explanation: 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.

Join The Discussion