autocapitalize values
What does each autocapitalize value do on a mobile keyboard?
Each value tells the virtual keyboard how aggressively to shift letters to uppercase while typing. Pairs like off and none, or on and sentences, mean the same thing in HTML.
| Value | Keyboard behavior | Typical use |
|---|---|---|
off or none | No automatic capitalization | Usernames, emails, promo codes, URLs, search queries |
on or sentences | Capitalize the first letter of each sentence (default on many text fields) | Comments, messages, ordinary paragraphs |
words | Capitalize the first letter of each word | Names and titles where Title Case is expected |
characters | Capitalize every letter as typed | All-caps codes or fields where every character should stay uppercase |
Browsers may still apply their own defaults when the attribute is omitted. Set it explicitly on sensitive fields.
Sources: MDN: autocapitalize




