Autocomplete Tokens

HTML autocomplete="given-name"

Build a form with the HTML form generator

The personal name component, not necessarily the first word in a name. Use this value on a compatible form control. Autofill is a browser/user preference, not an input constraint or proof that the value is accurate. Validate submitted data separately.

Formal Syntax & Structure

html syntaxhtml
autocomplete="given-name"

Parameters & Attributes

NameTypeDescription
autocompleteordered token listUse given-name as the attribute value.

Working Example

Example Snippethtml
<label>  Given name  <input type="text" name="given-name" autocomplete="given-name"></label>
HTML Reference