Email Validated Input - HTML5


/ Published in: HTML

HTML5 input field with strict email validation


Copy this code and paste it in your HTML
  1. <input type="text" title="email" required pattern="\b[a-zA-Z0-9._%+-][email protected][a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b" />

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.