Capitalize text with CSS

JavascriptWeb DevelopmentFront End Scripts

To capitalize text with CSS, use the capitalize property. You can try to run the following code to capitalize text:

<html>
   <head>
   </head>
   <body>
      <p style = "text-transform:capitalize;">
         India
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 15:02:44
Advertisements