A form with a password field that must contain 6 or more characters:
Note: The pattern attribute of the input tag is not supported in Internet Explorer 9 and earlier versions, or in Safari.