input
form control
Element information
Namespace: http://www.w3.org/1999/xhtml
Schema document: xhtml1-strict.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Empty content
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
id | [0..1] | xsd:ID | from group coreattrs | |
class | [0..1] | xsd:NMTOKENS | from group coreattrs | |
style | [0..1] | StyleSheet | from group coreattrs | |
title | [0..1] | Text | from group coreattrs | |
lang | [0..1] | LanguageCode | from group i18n | |
xml:lang | [0..1] | Anonymous | denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. | from group i18n |
dir | [0..1] | Anonymous | from group i18n | |
onclick | [0..1] | Script | from group events | |
ondblclick | [0..1] | Script | from group events | |
onmousedown | [0..1] | Script | from group events | |
onmouseup | [0..1] | Script | from group events | |
onmouseover | [0..1] | Script | from group events | |
onmousemove | [0..1] | Script | from group events | |
onmouseout | [0..1] | Script | from group events | |
onkeypress | [0..1] | Script | from group events | |
onkeydown | [0..1] | Script | from group events | |
onkeyup | [0..1] | Script | from group events | |
accesskey | [0..1] | Character | from group focus | |
tabindex | [0..1] | tabindexNumber | from group focus | |
onfocus | [0..1] | Script | from group focus | |
onblur | [0..1] | Script | from group focus | |
type | [0..1] | InputType | Default value is "text". | |
name | [0..1] | xsd:anySimpleType | the name attribute is required for all but submit & reset | |
value | [0..1] | xsd:anySimpleType | ||
checked | [0..1] | Anonymous | ||
disabled | [0..1] | Anonymous | ||
readonly | [0..1] | Anonymous | ||
size | [0..1] | xsd:anySimpleType | ||
maxlength | [0..1] | Number | ||
src | [0..1] | URI | ||
alt | [0..1] | xsd:anySimpleType | ||
usemap | [0..1] | URI | ||
onselect | [0..1] | Script | ||
onchange | [0..1] | Script | ||
accept | [0..1] | ContentTypes |
Used in
- Anonymous type of element a via reference to inline.forms
- Anonymous type of element pre via reference to inline.forms
- Anonymous type of element p via reference to inline.forms
- Anonymous type of element h1 via reference to inline.forms
- Anonymous type of element h2 via reference to inline.forms
- Anonymous type of element h3 via reference to inline.forms
- Anonymous type of element h4 via reference to inline.forms
- Anonymous type of element h5 via reference to inline.forms
- Anonymous type of element h6 via reference to inline.forms
- Anonymous type of element dt via reference to inline.forms
- Anonymous type of element address via reference to inline.forms
- Anonymous type of element span via reference to inline.forms
- Anonymous type of element bdo via reference to inline.forms
- Anonymous type of element em via reference to inline.forms
- Anonymous type of element strong via reference to inline.forms
- Anonymous type of element dfn via reference to inline.forms
- Anonymous type of element code via reference to inline.forms
- Anonymous type of element samp via reference to inline.forms
- Anonymous type of element kbd via reference to inline.forms
- Anonymous type of element var via reference to inline.forms
- Anonymous type of element cite via reference to inline.forms
- Anonymous type of element abbr via reference to inline.forms
- Anonymous type of element acronym via reference to inline.forms
- Anonymous type of element q via reference to inline.forms
- Anonymous type of element sub via reference to inline.forms
- Anonymous type of element sup via reference to inline.forms
- Anonymous type of element tt via reference to inline.forms
- Anonymous type of element i via reference to inline.forms
- Anonymous type of element b via reference to inline.forms
- Anonymous type of element big via reference to inline.forms
- Anonymous type of element small via reference to inline.forms
- Anonymous type of element label via reference to inline.forms
- Anonymous type of element legend via reference to inline.forms
- Anonymous type of element caption via reference to inline.forms
- Anonymous type of element div via reference to inline.forms
- Anonymous type of element li via reference to inline.forms
- Anonymous type of element dd via reference to inline.forms
- Anonymous type of element ins via reference to inline.forms
- Anonymous type of element del via reference to inline.forms
- Anonymous type of element th via reference to inline.forms
- Anonymous type of element td via reference to inline.forms
- Anonymous type of element object via reference to inline.forms
- Anonymous type of element fieldset via reference to inline.forms
- Group inline.forms
- Group inline via reference to inline.forms
- Type a.content via reference to inline.forms
- Type pre.content via reference to inline.forms
- Type Inline via reference to inline.forms
- Type Flow via reference to inline.forms
Sample instance
<input> <--any elements or text--> </input>