xxxxxxxxxx
<form method="post" action="/post/" autocomplete="off">
<!-- The entire form has autocomplete disabled. -->
</form>
<!-- or you turn it off for just one input -->
<input type="text" autocomplete="off">
xxxxxxxxxx
<form autocomplete="off">
<input type="text" name="username" autocomplete="off" />
<!--OR-->
<input type="text" name="email" autocomplete="off" />
<input type="password" name="password" autocomplete="new-password" />
</form>
xxxxxxxxxx
<form autocomplete="off" method="post" action="">
<input autocomplete="false" name="hidden" type="text" style="display:none;">
xxxxxxxxxx
<form method="post" action="/form" autocomplete="off">
[…]
</form>
xxxxxxxxxx
someForm.setAttribute( "autocomplete", "off" );
someFormElm.setAttribute( "autocomplete", "off" );
xxxxxxxxxx
<form autocomplete="off">
<input type="text" name="username" autocomplete="off" />
<!--OR-->
<input type="text" name="email" autocomplete="off" />
<input type="password" name="password" autocomplete="new-password" />