Autocomplete Tokens

HTML autocomplete="address-line2"

Build a form with the HTML form generator

Additional address detail, such as an apartment; do not assume it is always needed. 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="address-line2"

Parameters & Attributes

NameTypeDescription
autocompleteordered token listUse address-line2 as the attribute value.

Working Example

Example Snippethtml
<label>  Address line 2  <input type="text" name="address-line2" autocomplete="address-line2"></label>
HTML Reference