HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

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"
ValueDescription
charactersall letters default to uppercase
defaultuser agent and input method determine autocapitalization
noneno autocapitalization
offno autocapitalization
onfirst letter of each sentence defaults to uppercase; all other letters default to lowercase
sentencesfirst letter of each sentence defaults to uppercase; all other letters default to lowercase
wordsfirst letter of each word defaults to uppercase; all other letters default to lowercase

Examples

1 · characters

2 · default

3 · none

4 · off

5 · on

6 · sentences

7 · words