Autocomplete Tokens

HTML autocomplete="sex"

Build a form with the HTML form generator

A gender-related profile field. Use inclusive labels and allow omission unless genuinely necessary. 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="sex"

Parameters & Attributes

NameTypeDescription
autocompleteordered token listUse sex as the attribute value.

Working Example

Example Snippethtml
<label>  Gender identity  <input type="text" name="sex" autocomplete="sex"></label>
HTML Reference