Home > Web Front-end > HTML Tutorial > How to use image buttons as reset form buttons_HTML/Xhtml_Web page production

How to use image buttons as reset form buttons_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:36:55
Original
1440 people have browsed it

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:

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template