Forms
<input> Input
A single form control. Its type turns it into a text box, checkbox, date picker, slider and twenty more.
Tip. The heaviest element on the table. Pick the right type, like email or tel, to get the right phone keyboard.
- Since
- HTML 2.0
- Implicit role
- textbox
- Void
- Yes, no children
Attributes32
- accept
- alt
- autocomplete
- checked
- dirname
- disabled
- form
- formaction
- formenctype
- formmethod
- formnovalidate
- formtarget
- height
- list
- max
- maxlength
- min
- minlength
- multiple
- name
- pattern
- placeholder
- popovertarget
- popovertargetaction
- readonly
- required
- size
- src
- step
- type
- value
- width