HTML inputmode Attribute
Definition and Usage
inputmode
The attribute allows you to change the appearance of the keyboard on your phone or tablet (any device with a virtual keyboard).
See also:
HTML Tutorial:HTML అట్రిబ్యూట్లు
Example
Tip:Please run the example on your phone or tablet to see the results.
Example 1
Only numeric keys are displayed on the (virtual) keyboard:
<input type="text" inputmode="numeric">

Example 2
The following example uses "email" inputmode:
<input type="text" inputmode="email">

grammar
<element inputmode="decimal|email|none|numeric|search|tel|text|url">
అట్రిబ్యూట్ విలువ
విలువ | వివరణ |
---|---|
decimal | కేవలం నంబర్ల కీబోర్డు చూపిస్తారు, సాధారణంగా ఒక కాలం కీ ఉంటుంది. |
టెక్స్ట్ కీబోర్డు, కీలు సాధారణంగా [@] ఉపయోగిస్తారు. | |
none | కీబోర్డు కనిపించకూడదు. |
numeric | కేవలం నంబర్ల కీబోర్డు చూపిస్తారు. |
search | టెక్స్ట్ కీబోర్డు, [enter] కీ సాధారణంగా [go] చూపిస్తారు. |
tel | కేవలం నంబర్ల కీబోర్డు చూపిస్తారు, సాధారణంగా [+] మరియు [*] మరియు [#] కీబోర్డులు ఉంటాయి. |
text | డిఫాల్ట్. టెక్స్ట్ కీబోర్డు. |
url | టెక్స్ట్ కీబోర్డు, సాధారణంగా చివరి విషయాలు [.] మరియు [/] మరియు ప్రత్యేక [.com] కీబోర్డు లేదా స్థానిక అమర్పులకు ఉపయోగపడే మరొక చివరి విషయం ఉంటుంది. |
బ్రాసర్ మద్దతు
క్రోమ్ | ఎడ్జ్ | ఫైర్ఫాక్స్ | సఫారీ | ఆపెరా |
---|---|---|---|---|
క్రోమ్ | ఎడ్జ్ | ఫైర్ఫాక్స్ | సఫారీ | ఆపెరా |
66 | 79 | 95 | 12.2 | 53 |