Articles → BOOTSTRAP → Change The Text Case In Bootstrap

Change The Text Case In Bootstrap






Purpose


  1. text-lowercase - This class will make the text in lowercase.
  2. text-uppercase - This class will make the text in uppercase.
  3. text-capitalize - This class will make the first letter of the text in uppercase.

Example


<!DOCTYPE html>
<html>
   <head>
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.css">
   </head>
   <body>
      <div class="container">
         <p class="text-lowercase">This Is The Lower Case Text</p>
         <p class="text-uppercase">This Is The Upper Case Text</p>
         <p class="text-capitalize">This Is for captializing text</p>
      </div>
   </body>
</html>



Output


Picture showing the output of change the text case in BootStrap
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, September 1, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250