Home / HTML / HTML form – forms in HTML part 2
<INPUT TYPE="BUTTON" NAME="pbut" VALUE="Push Me">
<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">
How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]
The world's first app store was built on the NeXTSTEP platform, the same on which the World Wide Web was developed by Sir Tim Berners-Lee.