Autocomplete Tokens
HTML autocomplete="given-name"
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
| Name | Type | Description |
|---|---|---|
| autocomplete | ordered token list | Use given-name as the attribute value. |
Working Example
Example Snippethtml
<label> Given name <input type="text" name="given-name" autocomplete="given-name"></label>