Usage of text-transform property in CSS

JavascriptWeb DevelopmentFront End Scripts

The text-transform property is used to capitalize text or convert text to uppercase or lowercase letters.

Example

Possible values are none, capitalize, uppercase, lowercase.

<html>
   <head>
   </head>
   <body>
      <p style = "text-transform:capitalize;">
         This will be capitalized
      </p>

      <p style = "text-transform:uppercase;">
         This will be in uppercase
      </p>

      <p style = "text-transform:lowercase;">
         This will be in lowercase
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 07:28:17
Advertisements