Convert text to lowercase with CSS


To convert text to lowercase with CSS, use the text-transform property with value lowercase.

Example

You can try to run the following code to convert text to lowercase:

<html>
   <head>
   </head>
   <body>
      <p>Normal Text</p>
      <p style = "text-transform:lowercase;">
         Normal Text! This will be in lowercase!
      </p>
   </body>
</html>

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 31-Jan-2020

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements