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 s开发者_如何转开发pecialized keys?
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.
精彩评论