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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of url input control in Web form 2.0?

478


Is innerhtml a string?

391


List out the page structure elements of html5.

443


What is canvas in HTML5?

518


Is br an empty tag?

436






How we can create multi colored text in a webpage?

455


What is the article title?

476


How do you get higher results on google?

446


What are good meta tags?

454


Which elements have been deleted in html5?

486


What if we dont use doctype in html?

425


What tools to use to write xhtml documents?

509


Why we use 'clear' in html?

476


What is a combobox in html?

463


What is meant by innerhtml?

534