HTML5: empty values and email validation in browsers

Browsers don't test empty values when validating an email address so that such values will validate. To avoid this, an input of type email must have a required attribute set. Validation takes place only when inputs have a value. I've summarized my tests in the following video.

This entry was posted in by Gabriele Romanato. Bookmark the permalink.

Leave a Reply

Note: Only a member of this blog may post a comment.