Forms & Controls

inputmode="email"

Build a form with the HTML form generator

Hints at a keyboard with convenient email punctuation such as @. Use type=email if native email syntax validation is desired. 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="email"

Parameters & Attributes

NameTypeDescription
inputmodekeywordHints at a keyboard with convenient email punctuation such as @. Use type=email if native email syntax validation is desired.

Working Example

Example Snippethtml
<label>  Email address  <input type="text" inputmode="email"></label>
HTML Reference