I had this exact problem with HTML5s email input, using Alwin Keslers answer above I added the regex to the HTML5 email input so the user must have .something at the end.
<input type="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" />
More Related Contents:
- vs. . Which to use?
- HTML input – name vs. id [duplicate]
- Get the value in an input text box
- What’s the proper value for a checked attribute of an HTML checkbox?
- Disable Auto Zoom in Input “Text” tag – Safari on iPhone
- Best Practices & Considerations when writing HTML Emails [closed]
- Why does HTML5 form-validation allow emails without a dot?
- Full Width Backgrounds on Outlook ’07/’10/’13
- What’s a 3D doing in this HTML?
- Why is HTML5 input type datetime removed from browsers already supporting it?
- What is Data URI support like in major email client software?
- How to set default value to the input[type=”date”] [duplicate]
- how to POST/Submit an Input Checkbox that is disabled?
- HTML Email – Is colspan allowed?
- Send email from static page hosted on GitHub Pages
- Input type DateTime – Value format?
- Base64 encoded image is not showing in gmail
- How to add button inside input [closed]
- HTML email: tables or divs?
- Bootstrap 3 – How to maximize input width inside navbar
- Equivalent to float in Outlook
- What characters are allowed in the HTML Name attribute inside input tag?
- Styling HTML email for Gmail
- HTML: Characters allowed for name attribute of input element?
- How to add button inside an input [closed]
- Thymeleaf – How to add checked attribute to input conditionally
- How do I make a text input non-editable?
- Drop Down Menu/Text Field in one
- How can I embed SVG into HTML in an email, so that it’s visible in most/all email browsers?
- Button type “button” vs. “submit” [duplicate]