View video tutorial

CSS Text Transformation

CSS

This is used to specify uppercase and lowercase letters in a text.

CSS Text Transformation.

The text-transformation property is used to specify uppercase and lowercase letters in a text.

text-transform:  uppercase;
text-transform:  lowercase;
text-transform:  capitalize;

This can be done in following ways.

Example

#p1 {
  text-transform: uppercase;
}
#p2 {
  text-transform: lowercase;
}
#p3 {
  text-transform: capitalize;
}
Try it Now »

Click on the "Try it Now" button to see how it works.