Widely Available
Forms
id: input
<input>
The
<input type="text"> HTML element allows the user to enter information into a form. By default, an <input> element is a text input.
Baseline Status:
Achieved Widely Available on Jan 29, 2018 (Cross-browser Newly Available since Jul 29, 2015).
Desktop Browser Engine Support
Google Chrome
1
Supported
Mozilla Firefox
1
Supported
Apple Safari
1
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
18
Firefox Android
4
Safari iOS
1
Specifications and References
MDN Browser Compat Data Keys:
api.HTMLInputElement ↗
api.HTMLInputElement.accept ↗
api.HTMLInputElement.alt ↗
api.HTMLInputElement.autocomplete ↗
api.HTMLInputElement.cancel_event ↗
api.HTMLInputElement.checked ↗
api.HTMLInputElement.defaultValue ↗
api.HTMLInputElement.disabled ↗
api.HTMLInputElement.form ↗
api.HTMLInputElement.formAction ↗
api.HTMLInputElement.formEnctype ↗
api.HTMLInputElement.formMethod ↗
api.HTMLInputElement.formNoValidate ↗
api.HTMLInputElement.formTarget ↗
api.HTMLInputElement.height ↗
api.HTMLInputElement.invalid_event ↗
api.HTMLInputElement.labels ↗
api.HTMLInputElement.list ↗
api.HTMLInputElement.maxLength ↗
api.HTMLInputElement.minLength ↗
api.HTMLInputElement.name ↗
api.HTMLInputElement.pattern ↗
api.HTMLInputElement.placeholder ↗
api.HTMLInputElement.readOnly ↗
api.HTMLInputElement.required ↗
api.HTMLInputElement.select ↗
api.HTMLInputElement.select_event ↗
api.HTMLInputElement.selectionDirection ↗
api.HTMLInputElement.selectionEnd ↗
api.HTMLInputElement.selectionStart ↗
api.HTMLInputElement.setRangeText ↗
api.HTMLInputElement.setSelectionRange ↗
api.HTMLInputElement.size ↗
api.HTMLInputElement.type ↗
api.HTMLInputElement.value ↗
api.HTMLInputElement.width ↗
html.elements.input ↗
html.elements.input.accept ↗
html.elements.input.alt ↗
html.elements.input.checked ↗
html.elements.input.disabled ↗
html.elements.input.form ↗
html.elements.input.formaction ↗
html.elements.input.formenctype ↗
html.elements.input.formmethod ↗
html.elements.input.formnovalidate ↗
html.elements.input.formtarget ↗
html.elements.input.maxlength ↗
html.elements.input.minlength ↗
html.elements.input.name ↗
html.elements.input.pattern ↗
html.elements.input.placeholder ↗
html.elements.input.readonly ↗
html.elements.input.required ↗
html.elements.input.size ↗
html.elements.input.src ↗
html.elements.input.type_text ↗