Professional Documents
Culture Documents
HTML Forms Are A Way of Gathering Data From Visitors To Your Page
HTML Forms Are A Way of Gathering Data From Visitors To Your Page
INPUT TYPE
TEXTBOXES
First Name: <input type="text" name="FirstName" value="" size="15"
maxlength="15" />
TEXT AREAS
<textarea cols="40" name="comments" rows="6">please enter your comments...
</textarea>
PASSWORD ENTRY
Password:<input type="password" value="" name="mypassword" maxlength="10"
size="10" />
RADIO BUTONS
<input type="radio" name="title" value="mr" />Mr.<br />
<input type="radio" name="title" value="ms" />Ms.<br />
<input type="radio" name="title" value="decline" checked="checked"
/>decline<br />
CHECKBOXES
<input type="checkbox" name="checkbox1" />Mail me more info<br />
<input type="checkbox" name="checkbox2" checked="checked" />E-Mail me more
info<br />
SELECT LIST
<select name="countries">
<option>Argentina</option>
<option>Albania</option>
<option>Afganistain</option>
<option selected="selected">Aruba</option>
</select>
SCROLLING LIST
<select name="countries2" size="4">
<option value="0" selected="selected">Argentina</option>
<option value="1">Albania</option>
<option value="2">Afganistain</option>
<option value="3">Aruba</option>
<option value="4">Arabia</option>
</select>
ACTION BUTTONS
<input type="reset" name="submitbutton" value="cancel" />
<input type="submit" name="submitbutton" value="submit" />