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 |
Which is new element in html5?
What are the types of hyperlink?
What is Server Side Events in HTML5?
What is purpose of getCurrentPosition() method of geolocation object of HTML5?
What does dtd mean?
Why meta tags are used in html?
What is network in application cache?
Should I close img tag?
What is the real-world example of dhtml scripting?
How to create a link that will connect to another web browser page when clicked in html5?
Is html only used for web pages?
What does the alt attribute do?