Bootstrap panel-title class

BootstrapWeb DevelopmentCSS Framework

Add panel title in Bootstrap to add a title to the panel using the .panel-title class.

You can try to run the following code to implement the .panel-title class

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <div class = "panel panel-default">
         <div class = "panel-heading">
            <h3 class = "panel-title">
               Panel with title
            </h3>
         </div>
         <div class = "panel-body">
            Panel content
         </div>
      </div>
   </body>
</html>
raja
Published on 21-Jun-2018 09:04:42
Advertisements