Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an HTML attribute to tell smartphone keyboards to show special email keys?

I notice that when using my touch-screen smartphone (no physical keyboard) that when an app asks for an email address to be entered in a textbox, the on screen keyboard is modified slightly to provide specialized keys that enter blocks of text, like '.com' or push some characters to the foreground key, like '@'.

Is there an HTML attribute or style that I can add to my HTML input boxes that will tell the smartphone/browser to provide these specialized keys?

like image 478
slolife Avatar asked Apr 29 '10 04:04

slolife


1 Answers

according to

http://www.bennadel.com/blog/1721-Default-To-The-Numeric-Email-And-URL-Keyboards-On-The-iPhone.htm

you should use <input type="email"/>

it does not work on android.

like image 100
Keith Avatar answered Sep 30 '22 12:09

Keith