Version//IETF//DTD HTML 2.0 Strict//EN
ElementINPUT
Purposeform input datum
DescriptionThis element defines an input field (which can be a button, checkbox, imagemap, or text input field) used in a FORM element.
Start tagRequired <INPUT>
Attributes
NameTypeDefaultComment
ALIGN( top | middle | bottom )#IMPLIEDimage alignment
CHECKED( CHECKED )#IMPLIEDinitial state is on
MAXLENGTH NUMBER #IMPLIEDdata length maximum
NAME CDATA #IMPLIEDname of form datum
SDAPREF CDATA #FIXED "Input: "generated text prefix; in support of transformation to the International Committee for Accessible Document Design DTD for usable access to structured information by print-impaired individuals
SIZE CDATA #IMPLIEDfield size hint
SRC CDATA #IMPLIEDaddress of image
TYPE( TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT | RESET | IMAGE | HIDDEN )TEXTtype of input interaction
VALUE CDATA #IMPLIEDdefault/initial/selected value
ContentEMPTY
End tagForbidden
Referenced in FORM SELECT TEXTAREA
Example
SourceAppearance
<FORM Method="POST"
Action= "http://www.december.com/cgi-bin/formmail.secure.cgi">
<INPUT Type="hidden" Name="recipient" Value="nobody@december.com">
<p>Your Name: <INPUT Type="text" size="15" Name="user-name">
<P>Customer Number: <INPUT Type="number" size="10" Name= "customer-number">
<P>Shirt Size?
<INPUT Type="radio" Name="shirt-size" Value="S">S
<INPUT Type="radio" Name="shirt-size" Value="M">M
<INPUT Type="radio" Name="shirt-size" Value="L">L
<INPUT Type="radio" Name="shirt-size" Value="XL">XL
<P>What would you like?
<P><SELECT Name="would-like" size="2" multiple>
<OPTION>Order the product</OPTION>
<OPTION>Ask a question</OPTION>
<OPTION>Request a catalog</OPTION>
</SELECT>
<P>Your comments?<BR>
<TEXTAREA Name="comments" rows="4" cols="20"></TEXTAREA>
<P><INPUT Type="submit" Value="Send">
<INPUT Type="reset" Value="Cancel">
</FORM>

Your Name:

Customer Number:

Shirt Size? S M L XL

What would you like?

Your comments?

Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.