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 is the form of an html comment?
Why doctype is important in html?
Can a namespace have attribute?
What is an h1 tag?
Explain formnovalidate attribute of html5?
What is a dl list?
What is the use of <span> tag?
How to insert a comment in an html page?
What are new input form validations in html5?
What is the use of <figure> tag in html5?
How do I create a button which acts like a link?
What is the tag for image in html?