![]() |
Definition and UsageThe Here is the result of the example above, on my phone: The example below uses inputmode "email": Browser SupportSyntax
Attribute Values
|
Run the example with a phone or tablet to see the result.
Example:
HTML
<input type="text" inputmode="numeric">
The keys on the virtual keyboard is decimal only.
Example:
HTML
<input type="text" inputmode="decimal">
Some of the keys are switched out with keys used typically for e-mail addresses.
Example:
HTML
<input type="text" inputmode="email">
none | No keyboard should appear |
Example:
HTML
<input type="text" inputmode="none">
search | Text keyboard, usually the [enter] key says [go] |
Example:
HTML
<input type="text" inputmode="search">
The keys on the virtual tel is search only.
Example:
HTML
<input type="text" inputmode="tel">
The keys on the virtual keyboard is text only.
Example:
HTML
<input type="text" inputmode="text">
The keys on the virtual keyboard is url only.
Example:
HTML
<input type="text" inputmode="url">
html inputmode attribute |
How to Show only numeric keys on the (virtual) keyboard | HTML Global Attributes |
How to Show only decimal keys on the (virtual) keyboard | HTML Global Attributes |
How to Show only email keys on the (virtual) keyboard | HTML Global Attributes |
How to Show only none keys on the (virtual) keyboard | HTML Global Attributes |
How to Show only search keys on the (virtual) keyboard | HTML Global Attributes |
How to Show only tel keys on the (virtual) keyboard | HTML Global Attributes |
How to Show only text keys on the (virtual) keyboard | HTML Global Attributes |
How to Show only url keys on the (virtual) keyboard | HTML Global Attributes |
Read Full: | HTML Global Attributes |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Global Attributes |
Uploaded by: | Admin |
Views: | 32 |