Forms & Controls
inputmode="url"
Hints at a keyboard optimized for URLs, often including slash and period shortcuts. Use type=url if the field should receive native URL syntax validation. 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="url"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| inputmode | keyword | Hints at a keyboard optimized for URLs, often including slash and period shortcuts. Use type=url if the field should receive native URL syntax validation. |
Working Example
Example Snippethtml
<label> Website <input type="text" inputmode="url"></label>