


CHECKED
hidden No field is presented to the user, but the content of the field is sent with
the submitted form. This value may be used to transmit state information about
client/server interaction.
image This type is not currently supported by Web Tracker.
password The same as the text type, except that text is not displayed as it is entered.
radio Used for attributes that accept a single value from a set of alternatives.
Each radio button field in the group should be given the same name. Only the
selected radio button in the group generates a name/value pair in the submitted
data. Radio buttons require an explicit VALUE attribute.
reset A button that when pressed resets the form's fields to their specified initial
values. The label to be displayed on the button may be specified just as for
the submit type button.
submit A button that when pressed submits the form. You can use the VALUE attribute to provide a non-editable label to be displayed on the button. The
default label is application-specific. If a submit button is pressed in order to submit the form, and that button has a NAME attribute specified, then that button contributes a name/value pair to the
submitted data. Otherwise, a submit button makes no contribution to the submitted data.
text Used for a single line text entry fields. Use in conjunction with the SIZE and MAXLENGTH attributes. Use the <textarea> element for text fields which can accept
multiple lines.
<p>Please answer the following questions:
<ol>
<li>Name: <input type=text size=40 name=Name>
<li>How did you hear about our product? (check all that apply):<br>
<input type=checkbox name=Source value=Newspaper>Newspaper
<input type=checkbox name=Source value=Radio>Radio
<input type=checkbox name=Source value=TV>TV
<input type=checkbox name=Source value=Person>Friend/colleague
<li>How many would you like to order? <input type="number" name="Quantity"
size=4 value=1>
<input type=radio name=CC value=Visa checked>Visa
<input type=radio name=CC value=Mastercard>Mastercard
<li>Number: <input type=number name=CCNum size=16>
and expiration date (mm/yy): <input type=text name=Expiration size=5>
</ol>
<input type=submit value=" Send this form ">
<input type=reset value=" Reset all values and start over ">
</p>
</form>
<input> element
SRC