A form with a password field that must contain 6 or more characters:

Password:

Click the "Try it" button to display the value of the pattern attribute of the email field.