Return to site

Email validator for mac

broken image
broken image

The pattern HTML5 form attribute allows us to set a regex to check the input so it’s

broken image

It doesn’t check if an email address is using a valid TLD though.

broken image

This will allow the browser to check if it is valid using RFC 5322 If you have a form on your site requesting a users email address, then you should always use type='email' rather than type='text'.