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.

Specifications

Browser support (view on caniuse.com)

  • Chrome 66 Released on 2018-04-17
  • Chrome Android 66 Released on 2018-04-17
  • Edge 79 Released on 2020-01-15
  • Firefox 95 Released on 2021-12-07
  • Firefox for Android 79 Released on 2020-07-28
  • Safari 12.1 Released on 2019-03-25
  • Safari on iOS 12.2 Released on 2019-03-25