Home >Web Front-end >HTML Tutorial >How to use image buttons as reset form buttons_HTML/Xhtml_Web page production
When we make a form, we often set up a submit button and a reset button. Sometimes we may use some small pictures to replace these buttons to make the page look better. The method of using pictures for the submit button is very simple, I believe everyone can do it. So how to use an image button as a reset form button? Please read on.
Assume here that I have two images: submit button image ok.gif, reset button image reset.gif
The code for using images as submission forms is:
The code to use pictures as reset forms is: