Forms & Controls
inputmode="search"
Hints at a keyboard optimized for search queries. The keyboard may show a search action; the application still needs a form or handler to execute a search. Global keyboard hint for editable content; the actual keyboard depends on device, locale and browser. It changes neither input type nor validation.
Formal Syntax & Structure
html syntaxhtml
inputmode="search"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| inputmode | keyword | Hints at a keyboard optimized for search queries. The keyboard may show a search action; the application still needs a form or handler to execute a search. |
Working Example
Example Snippethtml
<label> Search query <input type="text" inputmode="search"></label>