Autocomplete Tokens
HTML autocomplete="one-time-code"
A short-lived authentication code. Use inputmode numeric only if all valid codes are numeric; preserve leading zeros. 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="one-time-code"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| autocomplete | ordered token list | Use one-time-code as the attribute value. |
Working Example
Example Snippethtml
<label> Verification code <input type="text" name="one-time-code" autocomplete="one-time-code"></label>