minmax length password
snippet in html

minmax length password

user4570

<label for="password">Password:</label>
<input id="password" type="password" pattern=".{5,10}" required title="5 to 10 characters">