maxLength
Summary
The maxLength attribute sets an upper limit on the number of characters that can be entered in an input element.
Applies to | [html/elements/input](/html/elements/input) |
---|
Examples
The example text box has a max length of 12 characters.
<input maxLength="12">
See also
Related articles
HTML
maxLength
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]