autocomplete

autocomplete accepts a space-delimited list of values:

  • off disables autocomplete, and should be used where there are security concerns with the
  • on enables autocomplete, but provides no hints as to how and leaves the behaviour at the browser's discretion.
  • name means the full name. Although not recommended due to broad differences in locale, it can be further broken down:
    • honorific-prefix for prefix/title.
    • given-name for the given/first name.
    • additional-name for middle names.
    • family-name for the family/last name.
    • honorific-suffix for the suffix (Jr, PhD., etc.).
    • nickname for a nickname/handle.
  • email for an email address.
  • username for a username.
  • new-password for a new password for an account. This should be used for both the password and confirmation fields.
  • current-password for the password currently in use.
  • one-time-code for one-time passwords.
  • organization-title for a job title.
  • organization for a place of work.
  • street-address for a complete street address; may be a multi-line field.
  • address-line1, address-line2 and address-line3 for individual address lines. Must not be present alongside street-address.
  • address-level4, address-level3, address-level2 and address-level1 represent administrative parts of an address, from most to least precise.
  • country for a country or territory code.
  • country-name for a country or territory name.
  • postal-code for a postal or zip code.
  • cc-name for the full name, as printed on a credit card, or alternatively:
    • cc-given-name for the given/first name.
    • cc-additional-name for the middle names.
    • cc-family-name for the family/last name.
  • cc-exp for the expiration date, typically expressed in the form MM/YY or MM/YYYY, or:
    • cc-exp-month for the expiration month.
    • cc-exp-year for the expiration year.
  • cc-csc for the CSC/CVV number, usually a three or four digit number.
  • cc-type for the type of payment instrument (e.g. Visa, MasterCard, Amex).
  • transaction-currency for the currency of the transaction.
  • transaction-amount for the amount to be billed, in the currency specified by transaction-currency.
  • language for a preferred language, as per BCP 47.
  • bday for a birth date, expressed as a full date, or:
    • bday-day for the day.
    • bday-month for the month.
    • bday-year for the year.
  • sex for gender identity.
  • tel for a complete telephone number, or:
    • tel-country-code for the international dialling code, e.g. 1 for the USA or 44 for the UK.
    • tel-national for a full number within the country, e.g. 0808 2000 247.
    • tel-area-code for the area code.
    • tel-local for a valid local phone number.
  • tel-extension for a telephone extension within the phone number (e.g. room/suite number).
  • impp for an IM protocol endpoint.
  • url for a URL.
  • photo for the URL of a photo.

Backlinks