Skip to content

Instantly share code, notes, and snippets.

@trey
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trey/9770044 to your computer and use it in GitHub Desktop.
Save trey/9770044 to your computer and use it in GitHub Desktop.
HTML5 email input type.

HTML5 Email Input Type

<input type="email">

It's just like a text field, but it does some fancy stuff like not auto-capitalizing and using an email-optimized keyboard on mobile devices.

If you don't want to validate an email address (some browsers will try to do that automatically), just put a novalidate attribute on the form tag.

<form method="post" novalidate>

source

@trey
Copy link
Author

trey commented Mar 25, 2014

This is a Solutions Log post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment