HTML5 email regexp validate


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <input type="text" title="email" required pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}" />

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.