Autocomplete Tokens
HTML autocomplete="country-name"
Human-readable country name rather than a two-letter code. 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="country-name"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| autocomplete | ordered token list | Use country-name as the attribute value. |
Working Example
Example Snippethtml
<label> Country name <input type="text" name="country-name" autocomplete="country-name"></label>