html remove autocomplete input code example

Example 1: turn off autocomplete input html

<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">

Example 2: form input autocomplete off

<input autocomplete="off"></input>

Example 3: autocomplete off input

autocomplete="off"

Example 4: disable autocomplete javascript

someForm.setAttribute( "autocomplete", "off" ); 
someFormElm.setAttribute( "autocomplete", "off" );

Tags:

Html Example