enterkeyhint

The enterkeyhint global HTML attribute allows to define the action label (or icon) to present for the enter key on virtual keyboards, like on touch devices. E.g.:

<input type="submit" enterkeyhint="search">

will display a Search label, or something similar, instead of the Enter symbol on the virtual keyboard. Because enterkeyhint is a global attribute, it can be used on any HTML element and is not limited to input elements.

The possible values of the enterkeyhint global HTML attribute.
enterkeyhint valueVirtual keyboard symbol
enterkeyhint="enter"
enterkeyhint="done"Done
enterkeyhint="go"Go
enterkeyhint="next"Next
enterkeyhint="previous"Previous
enterkeyhint="search"Search
enterkeyhint="send"Send
Comments