CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS text-transform property




The CSS text-transform property is use to manage transform text(like first letter capital).

TEXT Transformation property is used to specify uppercase and lowercase letters in a text. TEXT Transformation property set a value like capitalize means First letter capital for word, uppercase, lowercase.

Property Values


Properties Value Description
Syntax text-transform:value;
value   capitalize
  uppercase
  lowercase
  none
  inherit
Allow to All elements
Inherited Yes

Example-Code:

<p style="text-transform:capitalize;">this line transform capital</p>
<p style="text-transform:lowercase;">this line transform Lowercase</p>
<p style="text-transform:uppercase;">this line transform Uppercase</p>
Online Try This Code Your Self....   »

Example-Result:

this line transform capital.

this line transform Lowercase.

this line transform Uppercase.