Email and url inputtypes in HTML5

Posted on

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" />

Leave a Reply

Your email address will not be published. Required fields are marked *