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 −


Live Demo

<!DOCTYPE html>
      <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>
      <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>