Bootstrap list-group class


The purpose of list-group class is to render complex and customized content in lists.

You can try to run the following code to implement the list-group class in Bootstrap −

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>
      <h2>Tutorials</h2>
      <p>The following are the tutorials:</p>
      <ul class = "list-group">
         <li class = "list-group-item">HTML5</li>
         <li class = "list-group-item">JavaScript</li>
         <li class = "list-group-item">jQuery</li>
      </ul>
   </body>
</html>

Updated on: 12-Jun-2020

265 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements