The text-transform Property : text transform « CSS « HTML / CSS






The text-transform Property

   

The text-transform property allows you to specify the case for the content of an element. 

Value       Purpose

none        No change should take place

capitalize  The first letter of every word should be capitalized

uppercase   The entire content of the element should be uppercase

lowercase   The entire content of the element should be lowercase 

   
    
  








Related examples in the same category

1.'text-transform' Example
2.text-transform: lowercase
3.text-transform: capitalize
4.text-transform: uppercase
5.text-transform: lowercase;
6.text-transform: uppercase;
7.text-transform: capitalize;
8.text-transform: capitalize;text-transform: uppercase;text-transform: lowercase;
9.text-transform:none;capitalize;uppercase;lowercase;}
10.You can control the case of text using CSS: Apply the text-transform Property
11.Set text transform to uppercase
12.Set text-transform: capitalize for h2