maxLength

Jump to: navigation, search

maxLength

This article is Not Ready.



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

This attribute can be applied to inputs with the type text, search, url, email, telephone, and password.

Compatibility

There is no data available for topic "html", feature "maxLength". If you think that there should be data available, consider opening an issue.

Examples

View live exampleThe example text box has a max length of 12 characters.

HTML

<input maxLength="12">




See also

Related articles

HTML



















  • maxLength
































… further results

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]