简体   繁体   中英

Is there any way to choose a mobile keyboard without input[type]?

I want to show different keyboards in the event an input is a date without it actually being a <input type="date" /> .

Is this possible?

The answer is YES.

For email keyboard

<input type="email" name="email" />

在此处输入图片说明

-

For URL

<input type="url" name="url">

在此处输入图片说明

-

For telephone

<input type="tel" name="tel">

在此处输入图片说明

-

Numbers

<input type="number" name="number">

在此处输入图片说明

-

Datetime

<input type="date" name="date">

在此处输入图片说明

These are the most used so far. Greetings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM