HTML CSS examples for HTML Tag:form
The autocomplete attribute sets if a form should have autocomplete.
When autocomplete is on, the browser automatically complete values that the user has entered before.
It is possible to have autocomplete "on" for the form, and "off" for specific input fields, or vice versa.
Value | Description |
---|---|
on | Default. The browser will automatically complete values |
off | The browser does not automatically complete entries |
<!DOCTYPE html> <html> <body> <form action="/action_page.php" method="get" autocomplete="on"> First name:<input type="text" name="fname"><br> E-mail: <input type="email" name="email"><br> <input type="submit"> </form><!-- ww w .jav a 2 s . c o m--> </body> </html>