HTML/CSS/Form Attributes/maxlength
"maxlength" sets the maximum number of characters in a text or password control
<source lang="html4strict">
<HTML> <BODY> <form>
<input type="password" name="text1" maxlength="10">
</form> </BODY> </HTML>
</source>