CSS Text Transformation

CSS Text Transformation property is used to set the cases for a text. The text-transform property is used to specify capitalize, uppercase and lowercase letters in a text. The text-transform property contains capitalize, lowercase, uppercase value.

Syntax:

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

Example :

<html>
<head>
    <title>Learn Css text transform tutorials</title>
</head>
<body>
  <p style="text-transform:capitalize">Learn Css text transform tutorial to capitalize letters by aryatechno</p>
  <p style="text-transform:lowercase">Learn Css text transform tutorial to lowercase by aryatechno</p>  
  <p style="text-transform:uppercase;">Learn Css text transform tutorial to uppercase by aryatechno</p>
   
</body>
</html>

Output :

Learn Css text transform tutorial to capitalize letters by aryatechno

Learn Css text transform tutorial to lowercase by aryatechno

Learn Css text transform tutorial to uppercase by aryatechno

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

78733