Convert text to uppercase with CSS

JavascriptWeb DevelopmentFront End Scripts

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

Example

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

<html>
   <head>
   </head>
   <body>
      <p>Normal Text</p>
      <p style = "text-transform:uppercase;">
         Normal Text! This will be in uppercase!
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 15:09:38
Advertisements