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 |
What are elements and tags in html?
Is doctype mandatory?
What is the difference between <strong>, <b> tags and <em>, <i> tags?
Should I put quotes around attribute values or not?
What is microdata in html5?
Who developed html5?
How comfortable are you with writing html entirely by hand?
What is the code for change every 3rd li color of ul with css.
Write a background color in html?
Explain what other advantages does html5 have?
why it is important to set the meta information?
List out new input elements in html5?