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
How dhtml work with javascript?
How do I make a form so it can be submitted by hitting enter?
In HTML 5 we do not need DTD why?
What is the difference between static html and dynamic html?
Does a hyperlink apply only to text?
Will old html files work in modern browsers?
Can you use MathML tags directly in HTML5 without any plugin?
Describe HTML Entities with example?
What does it mean when code is deprecated?
How to add video in background in HTML
How to insert a copyright symbol in your webpage?
What are major attributes?
Write a code to change the color of the background or text? Explain the elements involved in it.
How do I make a clickable link in an email?
Is there advantages of collapsing white spaces in html?