Autocomplete Tokens

HTML autocomplete="tel-country-code"

Build a form with the HTML form generator

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

NameTypeDescription
autocompleteordered token listUse 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>
HTML Reference