html disable autocomplete for input code example
Example 1: turn off autocomplete input html
<form method="post" action="/post/" autocomplete="off">
</form>
<input type="text" autocomplete="off">
Example 2: how to make html input not autofill
<input type="text" autocomplete="off" />
Example 3: disable browser autocomplete
<form method="post" action="/form" autocomplete="off">
[…]
</form>
Example 4: autocomplete off input
autocomplete="off"
Example 5: input without autocomplete
<input type="text" name="foo" autocomplete="off" />
Example 6: disable autocomplete javascript
someForm.setAttribute( "autocomplete", "off" );
someFormElm.setAttribute( "autocomplete", "off" );