Language References
Creates various types of form input controls. | HTML 2, 3.2, 4, 4.01, 5 |
If no type attribute is specified, the control defaults to a single-line textbox.
The following examples illustrate use of the different types of the INPUT element.
<form>
Name <input value="enter your name here">
</form>
<form>
Password <input type="password">
</form>
<form>Color
<input type="radio" name="color" value="0" checked>Red
<input type="radio" name="color" value="1">Green
<input type="radio" name="color" value="2">Blue
</form>
<form>Assets
<input type="checkbox">House
<input type="checkbox">Car
<input type="checkbox">Whatever
</form>
<form>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
BUTTON, SELECT, TEXTAREA