Last Updated: February 25, 2016
·
982
· paulbremer

Email and url inputtypes in HTML5

Safari on iPhone recognizes the email type and changes the on-screen keyboard to match it (adds @ and .com options).

<input type="email" name="useremail" />

This also works with the url type.

<input type="url" name="homepage" />