asp.net.ph

Skip Navigation Links

INPUT Element | INPUT Object

Language References


Creates various types of form input controls.HTML 2, 3.2, 4, 4.01, 5
button checkbox file hidden image
password radio reset submit text

Remarks

If no type attribute is specified, the control defaults to a single-line textbox.

Example

The following examples illustrate use of the different types of the INPUT element.

<form>
   Name <input value="enter your name here">
</form>
Name
<form>
   Password <input type="password">
</form>
Password
<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>
Color Red Green Blue
<form>Assets 
   <input type="checkbox">House
   <input type="checkbox">Car
   <input type="checkbox">Whatever
</form>
Assets House Car Whatever
<form>
   <input type="submit" value="Send">
   <input type="reset" value="Reset">
</form>

See Also

BUTTON, SELECT, TEXTAREA



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note