Autocomplete Tokens

HTML autocomplete="webauthn"

Build a form with the HTML form generator

Final token requesting passkey suggestions on an input or textarea in a conditional WebAuthn sign-in flow. Markup alone does not start that flow. 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. The example demonstrates the markup only; a secure origin, server challenge and conditional credentials request are needed for a functional passkey flow.

Formal Syntax & Structure

html syntaxhtml
autocomplete="username webauthn"

Parameters & Attributes

NameTypeDescription
autocompleteordered token listUse username webauthn as the attribute value.

Working Example

Example Snippethtml
<label>  Sign-in name  <input type="text" name="webauthn" autocomplete="username webauthn"></label>
HTML Reference