Forms & Controls

inputmode="text"

Build a form with the HTML form generator

Requests a general text keyboard appropriate to the user's locale. This is a suitable default for names and ordinary prose. 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="text"

Parameters & Attributes

NameTypeDescription
inputmodekeywordRequests a general text keyboard appropriate to the user's locale. This is a suitable default for names and ordinary prose.

Working Example

Example Snippethtml
<label>  Name  <input type="text" inputmode="text"></label>
HTML Reference