Forms & Controls

enterkeyhint="enter"

Requests the ordinary Enter or return action label. Suitable for multiline editing where a new line is expected. Global hint for the virtual Enter key; if missing or invalid, the browser may infer a suitable label. Hardware keys and application behavior are not changed.

Formal Syntax & Structure

html syntaxhtml
enterkeyhint="enter"

Parameters & Attributes

NameTypeDescription
enterkeyhintkeywordRequests the ordinary Enter or return action label. Suitable for multiline editing where a new line is expected.

Working Example

Example Snippethtml
<label>  Text  <input enterkeyhint="enter"></label>
HTML Reference