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 are the new media-related elements in html5?

555


How many types css can be include in html?

592


What is tr td th in html?

578


What are the two types of tag?

558


Do you have to close br tags?

687


How to make text vertical allign center in div.

1041


What are tags in html?

629


Is html only used for web pages?

597


How to terminate a web worker?

720


How do you start a hashtag?

619


What is a label html?

627


What is td and tr?

603


Why xhtml is needed?

548


What is html dom?

627


How do you pronounce bvlgari?

604