Attribute that represents the type of the control to display..
no subtypes hierarchy
Constructors | |
button | Source Codeshared button A push button with no default behavior. |
checkbox | Source Codeshared checkbox A check box. You must use the value attribute to define the value submitted by this item. Use the checked attribute to indicate whether this item is selected. You can also use the indeterminate attribute to indicate that the checkbox is in an indeterminate state (on most platforms, this draws a horizontal line across the checkbox). |
color | Source Codeshared color A control for specifying a color. A color picker's UI has no required features other than accepting simple colors as text. |
date | Source Codeshared date A control for entering a date (year, month, and day, with no time). |
datetime | Source Codeshared datetime A control for entering a date and time (hour, minute, second, and fraction of a second) based on UTC time zone. This feature has been removed from WHATWG HTML. |
datetimeLocal | Source Codeshared datetimeLocal A control for entering a date and time, with no time zone. |
email | Source Codeshared email A field for editing an e-mail address. The input value is validated to contain either the empty string or a single valid e-mail address before submitting. The :valid and :invalid CSS pseudo-classes are applied as appropriate. |
file | Source Codeshared file A control that lets the user select a file. Use the accept attribute to define the types of files that the control can select. |
Source Codeshared hidden A control that is not displayed, but whose value is submitted to the server. | |
image | Source Codeshared image A graphical submit button. You must use the src attribute to define the source of the image and the alt attribute to define alternative text. You can use the height and width attributes to define the size of the image in pixels. |
month | Source Codeshared month A control for entering a month and year, with no time zone. |
number | Source Codeshared number A control for entering a floating point number. |
password | Source Codeshared password A single-line text field whose value is obscured. Use the maxlength attribute to specify the maximum length of the value that can be entered. |
radio | Source Codeshared radio A radio button. You must use the value attribute to define the value submitted by this item. Use the checked attribute to indicate whether this item is selected by default. Radio buttons that have the same value for the name attribute are in the same radio button group; only one radio button in a group can be selected at a time. |
range | Source Codeshared range A control for entering a number whose exact value is not important. |
reset | Source Codeshared reset A button that resets the contents of the form to default values. |
search | Source Codeshared search A single-line text field for entering search strings; line-breaks are automatically removed from the input value. |
submit | Source Codeshared submit A button that submits the form. |
tel | Source Codeshared tel A control for entering a telephone number; line-breaks are automatically removed from the input value, but no other syntax is enforced. You can use attributes such as pattern and maxlength to restrict values entered in the control. The :valid and :invalid CSS pseudo-classes are applied as appropriate. |
text | Source Codeshared text A single-line text field; line-breaks are automatically removed from the input value. |
time | Source Codeshared time A control for entering a time value with no time zone. |
url | Source Codeshared url A field for editing a URL. The input value is validated to contain either the empty string or a valid absolute URL before submitting. Line-breaks and leading or trailing whitespace are automatically removed from the input value. You can use attributes such as pattern and maxlength to restrict values entered in the control. The :valid and :invalid CSS pseudo-classes are applied as appropriate. |
week | Source Codeshared week A control for entering a date consisting of a week-year number and a week number with no time zone. |
Attributes | |
attributeValue | Source Codeshared actual String attributeValue The attribute value. |
Inherited Attributes |
Attributes inherited from: Object |
Attributes inherited from: AttributeValueProvider |