Disable Auto Correct and Auto Capitalize on mobile inputs
When you're developing web apps for mobile devices, you usually don't want the iOS/Android to auto correct or auto capitalize all your inputs, like user name or e-mail. To disable these features, you can use:
<input type="text" autocorrect="off" autocapitalize="off" autocomplete="off" />
The autocorrect
and autocapitalize
attributes works on the iPhone or the iPad, and the autocomplete
is for any device running Android.