Posted By

tcspinks on 09/24/13


Tagged

email input validation html5


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Beppoi


Email Validated Input - HTML5


 / Published in: HTML
 

HTML5 input field with strict email validation

  1. <input type="text" title="email" required pattern="\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b" />

Report this snippet  

You need to login to post a comment.