HTML and CSS Reference
In-Depth Information
Name
text-transform
Values:
uppercase | lowercase | capitalize | none
Initial value:
none
Applies to:
All elements
Inherited:
Yes
Computed value:
Same as declared value
Description:
Defines the pattern for changing the case of letters in an element, regardless of the case of
the text in the document source. The determination of which letters are to be capitalized by
the value capitalize is not precisely defined, as it depends on user agents knowing how to
recognize a “word.”
Examples:
h1 {text-transform: uppercase;}
.title {text-transform: capitalize;}
Search WWH ::




Custom Search