Autocomplete Tokens

HTML autocomplete="family-name"

Build a form with the HTML form generator

The family or surname component; its position and presence vary across cultures. 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="family-name"

Parameters & Attributes

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

Working Example

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