Forms & Controls

enterkeyhint="done"

Requests a completion label, useful for the final field of an editing workflow. It does not automatically save changes or dismiss the keyboard. 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="done"

Parameters & Attributes

NameTypeDescription
enterkeyhintkeywordRequests a completion label, useful for the final field of an editing workflow. It does not automatically save changes or dismiss the keyboard.

Working Example

Example Snippethtml
<label>  Final field  <input enterkeyhint="done"></label>
HTML Reference