Disable Autocomplete, Autocapitalize, and Autocorrect

<input autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /> <textarea autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
Disabling these three native mobile features is as easy as a few simple HTML attributes.

1 Response

Some HTML validators will flag several of these parameters as invalid attributes since they are not defined in the working HTML5 spec, but non-supporting browsers will safely ignore them. This greatly improves username entry inputs on mobile.

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.