Mobile uses HTML5 form enhancement experience

Source: Internet
Author: User

We know that HTML5 has added many types of forms, such as number,email,url,tel,datetime,month,datetime-local and so on, such as Datetime,month, which is very convenient, so as not to write their own choice date, Time plugin; But like Number,tel,email, these changes in the desktop are not particularly large, the appearance of the same as text, but on the mobile side a little different, most mobile devices are using the virtual keyboard, when we make the different types of forms, it will switch to the appropriate input mode, such as: number

Input method directly switch digital mode;

such as: Email:

Have not seen, the following more than an @ symbol;

This change is very convenient on the mobile side, lest we go to switch mode;

When doing development, try to use the corresponding form type, on the desktop may not be very big change, but the mobile experience is very good, now there is a concept is "mobile optimization";

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.