<!DOCTYPE html> <html> <body> <h1>The input minlength attribute</h1> <form action="/action_page.php"> <label for="password">Password:</label> <input type="password" id="password" name="password" minlength="8"><br><br> <input type="submit" value="Submit"> </form> </body> </html>