Skip to content

Instantly share code, notes, and snippets.

@apphp
Created January 18, 2016 20:08
Show Gist options
  • Select an option

  • Save apphp/1c85d198573720a34fce to your computer and use it in GitHub Desktop.

Select an option

Save apphp/1c85d198573720a34fce to your computer and use it in GitHub Desktop.
Turn Off Autocomplete for Input in HTML
This would be useful when a text input is one-off or unique. Like a username or email input, one-time use codes, or for when you have built your own auto-suggest/auto-complete feature and need to turn off the browser default.
<input name="email" type="text" autocomplete="off" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment