The simplest way is to use an image as a submit button employing the <INPUT> HTML form tag.
<INPUT TYPE="IMAGE" SRC="butup.gif" ALT="Submit button">
- Netscape ignores the ALT attribute.
- Netscape gives no indication that this image can be used to submit a form. In Internet Explorer, the mouse cursor changes to a hand.
Click on the image below to see how it works.
Furthermore, you notice that I’ve attached onmouseover and onmouseout event handlers to make your button more interactive.
When you mouse the mouse pointer over the image, the source (src) of image sub_but, which is located in myform form is changed to butdown.gif via onmouseover() and when the mouse pointer is removed from the image, the source is changed to butup.gif via onmouseout.
Move your mouse over the button to see the how it behaves and then click on it.