Forms & Controls

enterkeyhint="send"

Requests a send action label, such as for a message composer. The application must still handle submission and prevent accidental sends where appropriate. 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="send"

Parameters & Attributes

NameTypeDescription
enterkeyhintkeywordRequests a send action label, such as for a message composer. The application must still handle submission and prevent accidental sends where appropriate.

Working Example

Example Snippethtml
<label>  Message  <input enterkeyhint="send"></label>
HTML Reference