Thursday, 11 April 2013

Disable autocorrection in HTML text input field

Autocorrection is a pain when typing into HTML text input fields for user names and other kinds of data that shouldn't be auto-corrected. As web devs we should be disabling this functionality to make mobile users' lives better

All you need is this attribute:
autocorrect="off"

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!