Ü How to create button in a form ?
To create a form we use <FORM>...</FORM> tags. To create a form with buttons we need to use the following,
<INPUT TYPE=”....” VALUE=”......”>
We can use three values of the attribute TYPE, they are SUBMIT, RESET, IMAGE. What we give as the value of the VALUE attributeappears on the button. But exception is the IMAGE. When we are using the type IMAGE, we will have to input the following,
<INPUT TYPE=”....” NAME=”....” SRC=”....”>
We need to give a name as the value of the NAME attribute and as the value of the SRC attribute we will give the address of the image file we are going to use. Now consider the following input and output as example.
Use of <BUTTON> tag :
To provide a submit button we can use the following code,
Input Code :