The INPUT Tag


The INPUT tag is used to specify a simple input element inside a FORM. It is a standalone tag; it does not surround anything and there is no terminating tag -- i.e., it is used in much the same way as IMG.

The attributes to INPUT are as follows:

Examples:
  1. <INPUT TYPE="text" NAME="entry1">
    <INPUT TYPE="text" VALUE="Hello there!" NAME="entry2">
    <INPUT TYPE="text" VALUE="Short one" SIZE=10 
    	NAME="entry3">
  2. <INPUT TYPE="password" NAME="ex1">
    <INPUT TYPE="password" VALUE="Hello there!" NAME="ex2">
    <INPUT TYPE="password" VALUE="Short one" SIZE=10 
    	NAME="ex3">
  3. <INPUT TYPE="checkbox" VALUE="box1" NAME="ex1">
    <INPUT TYPE="checkbox" NAME="ex2" VALUE="box2" CHECKED>
  4. <INPUT TYPE="radio" VALUE="box1" NAME="ex1">
    <INPUT TYPE="radio" NAME="ex2" VALUE="box2" CHECKED>
  5. <INPUT TYPE="submit" VALUE="Send!">
    <INPUT TYPE="reset" VALUE="Reject!">
Example Picture