By default browsers only display the first error message to a user when they attempt to submit a form. This example shows how you can use the HTML5 form validation API to show them all. See http://tjvantoll.com/2012/08/05/html5-form-validation-showing-all-error-messages/.
ValidationSee the Pen by tjvantoll (@tjvantoll) on CodePen.