Web platform features explorer

enterkeyhint

Widely available since 2024-05-02
Tags: api html

The enterkeyhint global HTML attribute sets the label for a virtual keyboard's Enter key. For example, enterkeyhint="search" may label the key with a magnifying glass icon.

Browser support

  • Chrome 77 Released on 2019-09-10
  • Chrome Android 77 Released on 2019-09-10
  • Edge 79 Released on 2020-01-15
  • Firefox 94 Released on 2021-11-02
  • Firefox for Android 94 Released on 2021-11-02
  • Safari 13.1 Released on 2020-03-24
  • Safari on iOS 13.4 Released on 2020-03-24