Autocomplete Tokens
HTML autocomplete="tel-country-code"
International dialing prefix such as +46, not an ISO country 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="tel-country-code"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| autocomplete | ordered token list | Use tel-country-code as the attribute value. |
Working Example
Example Snippethtml
<label> Calling code <input type="tel" name="tel-country-code" autocomplete="tel-country-code"></label>