Autocomplete Tokens
HTML autocomplete="nickname"
An informal or preferred name distinct from a legal full 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="nickname"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| autocomplete | ordered token list | Use nickname as the attribute value. |
Working Example
Example Snippethtml
<label> Preferred nickname <input type="text" name="nickname" autocomplete="nickname"></label>