Is it okay to use <input type=“tel”/> now?

前端 未结 3 1707
野的像风
野的像风 2020-12-08 03:21

I\'m working on a mobile phone web app and I have several text fields that could benefit from . iPhones will adjust the keyboard for

3条回答
  •  一向
    一向 (楼主)
    2020-12-08 04:18

    Short answer: yes. As @el.pescado mentions, browsers fall back to type=text when they don't undertand the type. For more info about the other cool features you get from HTML5 forms, check out A Form of Madness, which is the forms chapter in Dive Into HTML5.

提交回复
热议问题