Answers for "how to set minimum length of password in html"

1

what is min attribute in password

<input type="password" name="password" min="5">
<input type="text" name="username" min="5">

<!-- The minlength attribute specifies the minimum number 
of characters required in an input field.-->
Posted by: Guest on August-23-2020
1

minmax length password

<label for="password">Password:</label>
<input id="password" type="password" pattern=".{5,10}" required title="5 to 10 characters">
Posted by: Guest on May-22-2020

Code answers related to "how to set minimum length of password in html"

Browse Popular Code Answers by Language