Available in Chrome 43+ | View on GitHub | Browse Samples
Apple introduced an attribute on HTMLInputElement
and
HTMLTextAreaElement
called autocapitalize
in iOS 5. It allows the page author to
hint at how the browser should present the virtual keyboard for a user to optimize text entry for
the user. In it's simplest form, you could indicate that a text box should automatically
capitalize the first letter of every new sentence.
Starting in Chrome 43 for Android, Chrome will support the autocapitalize attribute on both
HTMLInputElement
and HTMLTextAreaElement
, which will allow you to
control the autocapitalization behaviour of the virtual keyboard and bring it inline with Safari
on iOS.
Sentence case will capitalize words after a period. Like this.
Word Case Will Capitalize Every Word. Like This.
CHARACTER CASE IS LIKE ANGRY.