How does HTML validate password length?
The maximum number of characters (as UTF-16 code units) the user can enter into the password field.
This must be an integer value 0 or higher.
If no maxlength is specified, or an invalid value is specified, the password field has no maximum length..
How do I find my username and password in HTML?