<input>
The <input type="text">
HTML element allows the user to input information into a form. By default, an <input>
element is a text input.
To learn more, see
HTMLInputElement,
HTMLInputElement: accept property,
HTMLInputElement: alt property,
HTMLInputElement: autocomplete property,
HTMLInputElement: cancel event,
HTMLInputElement: checked property,
HTMLInputElement: defaultValue property,
HTMLInputElement: disabled property,
HTMLInputElement: form property,
HTMLInputElement: formAction property,
HTMLInputElement: formEnctype property,
HTMLInputElement: formMethod property,
HTMLInputElement: formNoValidate property,
HTMLInputElement: formTarget property,
HTMLInputElement: height property,
HTMLInputElement: invalid event,
HTMLInputElement: labels property,
HTMLInputElement: list property,
HTMLInputElement: maxLength property,
HTMLInputElement: minLength property,
HTMLInputElement: multiple property,
HTMLInputElement: name property,
HTMLInputElement: pattern property,
HTMLInputElement: placeholder property,
HTMLInputElement: readOnly property,
HTMLInputElement: required property,
HTMLInputElement: select() method,
HTMLInputElement: select event,
HTMLInputElement: selectionDirection property,
HTMLInputElement: selectionEnd property,
HTMLInputElement: selectionStart property,
HTMLInputElement: setRangeText() method,
HTMLInputElement: setSelectionRange() method,
HTMLInputElement: size property,
HTMLInputElement: type property,
HTMLInputElement: value property,
HTMLInputElement: width property,
<input>: The HTML Input element,
HTML attribute: accept,
HTML attribute: pattern,
<input type="text"> at MDN.
Compatibility
- Chrome 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 1 Released on 2004-11-09
- Firefox for Android 4 Released on 2011-03-29
- Safari 1 Released on 2003-06-23
- Safari on iOS 1 Released on 2007-06-29
Specifications
- HTML Standard (#the-input-element), from HTML Workstream (WHATWG).