Forms & Controls

enterkeyhint="previous"

Requests a label indicating a return to the previous field. It does not itself define a focus order or guarantee backward navigation. 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="previous"

Parameters & Attributes

NameTypeDescription
enterkeyhintkeywordRequests a label indicating a return to the previous field. It does not itself define a focus order or guarantee backward navigation.

Working Example

Example Snippethtml
<label>  Second field  <input enterkeyhint="previous"></label>
HTML Reference