<HTML> <head><Title>Example For maxlength</Title></head> <BODY> <form> <input type="password" name="text1" maxlength="10"> </form> </BODY> </HTML>