Autocomplete Tokens

HTML autocomplete="cc-type"

Build a form with the HTML form generator

Payment card network or type, such as Visa; avoid guessing network from the cardholder 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="cc-type"

Parameters & Attributes

NameTypeDescription
autocompleteordered token listUse cc-type as the attribute value.

Working Example

Example Snippethtml
<label>  Card network  <input type="text" name="cc-type" autocomplete="cc-type"></label>
HTML Reference