Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h1>The form autocomplete attribute</h1> <p>Fill in and submit the form, then reload the page, start to fill in the form again - and see how autocomplete works.</p> <p>Then, try to set autocomplete to "off".</p> <form action="/action_page.php" method="get" autocomplete="on"> <label for="fname">First name:</label> <input type="text" id="fname" name="fname"><br><br> <label for="email">Email:</label> <input type="text" id="email" name="email"><br><br> <input type="submit"> </form> <p><b>Note:</b> The autocomplete attribute of the form element is not supported in Opera 12 and earlier versions.</p> </body> </html>