HTML
Updating input attributes
Set these attributes on the HTML input element to turn off the browserβs default behavior:HTML
In Chrome,
autocomplete="off"
doesnβt work.
In Chrome, you can turn off autocomplete by setting the attribute to an invalid value like autocomplete="nope"
.
The same solution doesnβt work in Firefox (it disregards the invalid value and reverts to the default autocompletion behavior).