HTML Form

List Box

Creates a list box. Size sets the number of menu items visible before you need to scroll.
CodeForm
<select multiple name="strScroll" size=3>
	<option>Marketing Manager
	<option selected>Marketing Assistant
	<option>Accounting Manager
	<option>Sales Agent
	<option>Sales Associate
</select>

Combo Box

CodeForm
<select name="strScroll">
	<option>Marketing Manager
	<option selected>Marketing Assistant
	<option>Accounting Manager
	<option>Sales Agent
	<option>Sales Associate
</select>

Text Area

Creates a text box area. Columns set the width; rows set the height.
CodeForm
<textarea name="txtAddress" cols=40 rows=3>
Default Text1
Default Text2
</textarea>

Checkbox

Creates a checkbox. Text follows tag.
CodeForm
<input type="checkbox" name="chkThimphu" checked>Thimphu
<input type="checkbox" name="chkParo">Paro
Thimphu Paro

Radio button

Creates a radio button. Text follows tag
CodeForm
<input type="radio" name="radSex">Male
<input type="radio" name="radSex" checked>Female
Male Female

One-line text area

Creates a one-line text area. Size sets length, in characters.
CodeForm
<input type=text name="foo" size=20 maxlength=20 value="Default">

Button

CodeForm
<input type="submit" value="SUBMIT">
<input type="reset" value="CANCEL">

Get Method

CodeForm
<form action="form-get.php" method="get">
<table>
<tr><td>Name:    <td><input name="strName" size=20 maxlength=20>
<tr><td>Address: <td><input name="strAdd" size=25 maxlength=25>
<tr><td>         <td><input type="submit" value="Submit">
                     <input type="reset"  value="Reset">
</table>
</form>
Name:
Address:

Post Method

CodeForm
<form action="form-get.php" method="post">
<table>
<tr><td>Name:    <td><input name="strName" size=20 maxlength=20>
<tr><td>Address: <td><input name="strAdd" size=25 maxlength=25>
<tr><td>         <td><input type="submit" value="Submit">
                     <input type="reset"  value="Reset">
</table>
</form>
Name:
Address:

Google
Web www.grape-info.com