Skip to content

Instantly share code, notes, and snippets.

@carlosrojaso
Created May 12, 2014 07:03
Show Gist options
  • Save carlosrojaso/221d57f19f11dc51fdae to your computer and use it in GitHub Desktop.
Save carlosrojaso/221d57f19f11dc51fdae to your computer and use it in GitHub Desktop.
autocomplete
<!DOCTYPE html>
<html>
<body>
<form action="demo_form.asp" autocomplete="on">
First name:<input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
E-mail: <input type="email" name="email" autocomplete="off"><br>
<input type="submit">
</form>
<p>Fill in and submit the form, then reload the page to see how autocomplete works.</p>
<p>Notice that autocomplete is "on" for the form, but "off" for the e-mail field.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment