Skip to content
PHP Ecosystem
Explore

Autocapitalize

API reference › HTML Attribute › Values › Autocapitalize

enumUIAwesome\Html\Attribute\Values\Autocapitalize
Backed bystring
Sourcesrc/Values/Autocapitalize.php

Represents values for the HTML autocapitalize global attribute.

See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocapitalize.

CaseValueDescription
CHARACTERS'characters'Represents the characters token. Automatically capitalizes every character.
NONE'none'Represents the none token. Does not automatically capitalize any text.
OFF'off'Represents the off token. Alias for none.
ON'on'Represents the on token. Alias for sentences.
SENTENCES'sentences'Represents the sentences token. Automatically capitalizes the first character of each sentence.
WORDS'words'Represents the words token. Automatically capitalizes the first character of each word.