Autocomplete Tokens

HTML autocomplete="username"

Build a form with the HTML form generator

Identifies a sign-in name, which may be an email address; pair with the correct password token. 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="username"

Parameters & Attributes

NameTypeDescription
autocompleteordered token listUse username as the attribute value.

Working Example

Example Snippethtml
<label>  Account identifier  <input type="text" name="username" autocomplete="username"></label>
HTML Reference