The HTML Attribute reference.

"maxlength" - html Attribute

  • When the type attribute has the value "text" or "password", this attribute specifies the maximum number of characters the user may enter. This number may exceed the specified size, in which case the user agent should offer a scrolling mechanism.
  • The default value for this attribute is an unlimited number.

Value(s): number
Used in the element(s):
Elements Description
input This element defines a form control for the user to enter input.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.