Attributes · enterkeyhint
Which attributes go with enterkeyhint?
Pair the Enter key label with the keyboard layout and input type that fit the field.
| Attribute | What it does | Docs |
|---|---|---|
enterkeyhint | Hints which label or icon a virtual keyboard shows for the Enter key. | MDN |
inputmode | Hints which virtual keyboard layout to show, such as an email keyboard. | MDN |
type | Chooses the input's data type, validation and default keyboard behavior. | MDN |




