HTML CSS examples for HTML Tag:form
There are two allowed values for the autocomplete attribute: on and off.
The on value permits the browser to fill out the form and is the default value.
Disabling the form Element autocomplete Attribute
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <form autocomplete="off" method="post" action="http://example.com/form"> <input name="fave"> <input name="name"> <button>Submit Vote</button> </form> </body><!-- ww w. ja va 2 s . co m--> </html>