Version-//W3C//DTD XHTML 1.0 Transitional//EN
Purposeform control
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 />
accept CDATA #IMPLIEDcomma-separated list of media types as per RFC2045; list of MIME types for file upload
accesskey CDATA #IMPLIEDa single character as per XML specification which defines a character as an atomic unit of text as specified by ISO/IEC 10646 [ISO/IEC 10646] (see also [ISO/IEC 10646-2000]); accessibility key character
align( top | middle | bottom | left | right )#IMPLIEDvertical or horizontal alignment
alt CDATA #IMPLIEDshort description
checked( checked )#IMPLIEDfor radio buttons and check boxes
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
disabled( disabled )#IMPLIEDunavailable in this context
idID#IMPLIEDdocument-wide unique id
langNMTOKEN#IMPLIEDlanguage code (backwards compatible); language code as RFC3066
maxlength CDATA #IMPLIEDone or more digits; max chars for text fields
name CDATA #IMPLIEDsubmit as part of form
onblur CDATA #IMPLIEDscript expression; the element lost the focus
onchange CDATA #IMPLIEDscript expression; the element value was changed
onclick CDATA #IMPLIEDa pointer button was clicked; script expression
ondblclick CDATA #IMPLIEDa pointer button was double clicked; script expression
onfocus CDATA #IMPLIEDscript expression; the element got the focus
onkeydown CDATA #IMPLIEDa key was pressed down; script expression
onkeypress CDATA #IMPLIEDa key was pressed and released; script expression
onkeyup CDATA #IMPLIEDa key was released; script expression
onmousedown CDATA #IMPLIEDa pointer button was pressed down; script expression
onmousemove CDATA #IMPLIEDa pointer was moved within; script expression
onmouseout CDATA #IMPLIEDa pointer was moved away; script expression
onmouseover CDATA #IMPLIEDa pointer was moved onto; script expression
onmouseup CDATA #IMPLIEDa pointer button was released; script expression
onselect CDATA #IMPLIEDscript expression; some text was selected
readonly( readonly )#IMPLIEDfor text and passwd
size CDATA #IMPLIEDspecific to each type of field
src CDATA #IMPLIEDUniform Resource Identifier as per RFC2396; a Uniform Resource Locator (URL) is a URI; for fields with images
style CDATA #IMPLIEDassociated style info; style sheet data
tabindex CDATA #IMPLIEDone or more digits; position in tabbing order
title CDATA #IMPLIEDadvisory title; text used for titles
type( text | password | checkbox | radio | submit | reset | file | hidden | image | button )"text"what kind of widget is needed
usemap CDATA #IMPLIEDUniform Resource Identifier as per RFC2396; a Uniform Resource Locator (URL) is a URI; use client-side image map
value CDATA #IMPLIEDSpecify for radio buttons and checkboxes
xml:langNMTOKEN#IMPLIEDlanguage code (as per XML 1.0 spec); language code as RFC3066
End tagForbidden
Referenced in a abbr acronym address applet b bdo big blockquote body caption center cite code dd del dfn div dt em fieldset font form h1 h2 h3 h4 h5 h6 i iframe ins kbd label legend li noframes noscript object p pre q s samp small span strike strong sub sup td th tt u var
<form method="post"
<p><input type="hidden" name="recipient" value="" /></p>
<p>Your Name: <input type="text" size="15" name="user-name" /></p>
<p>Customer Number: <input type="text" size="10" name="customer-number" /></p>
<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>
<p>What would you like?</p>
<p><select name="would-like" size="2" multiple="multiple">
<option>Order the product</option>
<option>Ask a question</option>
<option>Request a catalog</option></select></p>
<p>Your comments?<br />

<textarea name="comments" rows="4" cols="20">
<p><input type="submit" value="Send" /> <input type="reset"
value="Cancel" /></p></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.