HTML5正则表单式验证电子邮件

<input type="text" title="email" required pattern="[^@]+@[^@]+.[a-zA-Z]{2,6}" />

原文地址:https://www.cnblogs.com/hegaiying/p/5911632.html