inputmode global attribute is an enumerated attribute that provides a hint as to the type of data that might be entered by the user while editing the element or its contents. It can have the following values:
If this attribute is not set, its default value is
"text", indicating that the locale's standard text entry keyboard should be used.
Spec conflict: The WHATWG spec lists
inputmode, and modern browsers are working towards supporting it. The W3C HTML 5.2 spec however no longer lists it (i.e. marks it as obsolete). You should consider the WHATWG definition as correct, until a consensus is reached.
|HTML Living Standard |
The definition of 'inputmode' in that specification.
|Android webview||Chrome for Android||Edge Mobile||Firefox for Android||Opera for Android||iOS Safari||Samsung Internet|
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.