autocapitalize
Description
The autocapitalize attribute for HTML allows authors to control capitalization.
Useful for voice input or a virtual keyboard, but not a physical keyboard.
Syntax
autocapitalize="value"
Value | Description |
---|---|
characters | all letters default to uppercase |
default | user agent and input method determine autocapitalization |
none | no autocapitalization |
off | no autocapitalization |
on | first letter of each sentence defaults to uppercase; all other letters default to lowercase |
sentences | first letter of each sentence defaults to uppercase; all other letters default to lowercase |
words | first letter of each word defaults to uppercase; all other letters default to lowercase |