Forms & Controls

enterkeyhint="search"

Build a form with the HTML form generator

Requests a search action label or icon. Use with a real search form or application handler; it does not execute a query by itself. 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="search"

Parameters & Attributes

NameTypeDescription
enterkeyhintkeywordRequests a search action label or icon. Use with a real search form or application handler; it does not execute a query by itself.

Working Example

Example Snippethtml
<label>  Search  <input enterkeyhint="search"></label>
HTML Reference