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

Does hr need a closing tag?

0 Answers  


What is the purpose of <! Doctype html>? Explain

0 Answers  


What is the function of the br tag?

0 Answers  


What is p in html?

0 Answers  


Why aren't my frames the exact size I specified?

0 Answers  






What is new meta?

0 Answers  


What is dhtml explain with example?

0 Answers  


What is the difference between xhtml and html?

0 Answers  


How to embed video and audio in html5?

0 Answers  


What is the svg element?

0 Answers  


Why isn't XHTML2 backwards compatible?

1 Answers  


What is numbered list in html?

0 Answers  


Categories