You are here: Reference > CSS > properties > text-transform

text-transform property

Browser support:
Specifies the case of the text.
With this property you can change text to uppercase, lowercase or to capitalized.
JavaScript page for this property: textTransform. You can find other example(s) there.

Possible values:

 One of the following values: 
Uppercases the first letter of each word.
Takes the value of this property from the computed style of the parent element.
Lowercases all letters of each word.
No text transformation is used.
Uppercases all letters of each word.
Default: none.

Example HTML code 1:

This example illustrates the use of the text-transform property:
        .example {
            text-transform: capitalize;
    <p class="example">text-transform</p>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content