This creates a button which is quite useful for triggering JavaScript events.
<INPUT TYPE="BUTTON" NAME="pbut" VALUE="Push Me">
The button above does nothing when clicked. However, you can attach JavaScript event handlers to this button to set up some kind of action.
<INPUT TYPE="BUTTON" VALUE="Push me to get a greeting" NAME="mybut" onclick="return disp();">
Creates a reset button, which when clicked, clears all form elements and sets then to their default values. It has only one attribute VALUE, that specifies the text written on the button.
<INPUT TYPE="RESET" VALUE="Clear the form">
Makes a button, which when clicked, submits the form. It has two attributes
<INPUT TYPE="SUBMIT" VALUE="Send Email" NAME="semail">
Clicking on a submit button sends the name-value pairs of all form elements to the server. (Note: This submit button does not work. However, you can test one on the right to join my mailing list!)
Allows your users to send files to your server. It is accompanied with a Browse button that helps the user locate the file on his computer.
Attributes taken are:
<INPUT TYPE="FILE" NAME="uploadfile" VALUE="">
This is a great tag allowing designers to make their own buttons. With its use you can replace the dull default button with a colorful image.
There are four attributes associated with this tag
<INPUT TYPE="IMAGE" SRC="but.gif" NAME="sub_but" BORDER="0">
This creates a form input field which is not displayed in the browser. It is ideal for passing values set by the programmer or by certain actions of the user.
It has only two attributes.
<INPUT TYPE="HIDDEN" NAME="birthday" VALUE="16-03-72">
Δ