Web platform features explorer

inputmode

Widely available since 2024-06-07
Tags: api html

The inputmode global HTML attribute gives a hint about what type of data is to be entered into an <input> element, such as text, numeric, or email, so the browser may help the user enter data using an adapted input mechanism, such as an on-screen virtual keyboard.

Learning resources on MDN

Browser support (view on caniuse.com)

Specifications