How do I use an image instead of the standard submit button?



How do I use an image instead of the standard submit button?..

Answer / guest

Use <INPUT NAME=foo TYPE=image
SRC="http://url.to/image.gif"> instead of the normal submit
tag. There is no way to do this for the reset button.

Note that some browsers will also send the x and y
coordinates of the location where the user clicked on the
image to the server. They are available as
"foo.x=000&foo.y=000" in the CGI input.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

How do you create a link that will connect to another web page when clicked?

0 Answers  


Is meta title important?

0 Answers  


What is singular tag?

0 Answers  


If I do not put will HTML 5 work?

0 Answers  


What is the use of html?

0 Answers  


What is formatting in html? Explain some formatting tags?

0 Answers  


List out the tags those are mostly used in html?

0 Answers  


What are the drawbacks of cookies?

0 Answers  


What is a closing tag?

0 Answers  


How we can refer css file in a web page in html?

0 Answers  


Which tag specifies a key pair generator field in a form?

0 Answers  


When should I use html5?

0 Answers  


Categories