When we make a form, we often set a submit button and a reset button. Sometimes we may use some small pictures to replace these buttons for the sake of the page's appearance. The method of using pictures for submit buttons is very simple, and I believe everyone knows how to do it. So how do you use an image button as a reset form button? Please continue reading. Here I assume that I have two images: submit button image ok.gif, reset button image reset.gif The code to submit a form using an image is: <input type="image" src="ok.gif" alt="" width="93" height="33" border="0" /> The code to use an image as the reset form is: <input type="image" src="reset.gif" alt="" width="93" height="33" border="0" onclick="reset();return false;" /> |
<<: MySQL Learning: Three Paradigms for Beginners
>>: CSS3 speeds up and delays transitions
WeChat applet form validation, for your reference...
The advantage of the master-slave synchronization...
In fact many people will say “I’ve seen that table...
Table of contents 1. beforeCreate & created 2...
500 (Internal Server Error) The server encountere...
1. Import csv file Use the following command: 1.m...
The background color of the table can be set thro...
Preface All requests in Tomcat are handled by Ser...
1. Go to the location where you want to store the...
The above article has temporarily concluded my int...
1: Statement order of grouping function 1 SELECT ...
Today when I was writing a flash advertising code,...
Table of contents Scene Setting Game Resources Tu...
The scroll-view of WeChat applet has more bugs wh...
Table of contents 1. Front-end routing implementa...