Back to CSS1 Reference | CSS1 Properties
Prev text-indent | Next white-space


Property
text-transform
Values
capitalize, uppercase, lowercase, none
Initial
none
Inherited
yes

'capitalize'
uppercases the first character of each word
'uppercase'
uppercases all letters of the element
'lowercase'
lowercases all letters of the element
'none'
neutralizes inherited value.
The actual transformation in each case is human language dependent.

      H1 { text-transform: uppercase }

The example above would put 'H1' elements in uppercase text.

CSS1 core: UAs may ignore 'text-transform' (i.e., treat it as 'none') for characters that are not from the Latin-1 repertoire and for elements in languages for which the transformation is different from that specified by the case-conversion tables of Unicode 8.

Log in or registerto write something here or to contact authors.