Is there a W3C valid way to disable autocomplete in a HTML form?

后端 未结 18 1395
心在旅途
心在旅途 2020-11-22 05:58

When using the xhtml1-transitional.dtd doctype, collecting a credit card number with the following HTML



        
18条回答
  •  春和景丽
    2020-11-22 06:20

    I MADE THIS WORK IN 2020!

    I basically create a css class that applies -webkit-text-security to my inputs.

    Here's the link to a more recent discussion: https://stackoverflow.com/a/64471795/8754782

提交回复
热议问题