HTML CSS examples for Bootstrap:List Group
Add HTML inside a list group item.
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head><!--from www .jav a2 s . co m--> <body> <div class="container"> <h2>List Group With Custom Content</h2> <div class="list-group"> <a href="#" class="list-group-item active"> <h4 class="list-group-item-heading">First List Group Item Heading</h4> <p class="list-group-item-text">List Group Item Text</p> <h4 class="list-group-item-heading">Second List Group Item Heading</h4> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> </a> <a href="#" class="list-group-item"> <h4 class="list-group-item-heading">Second List Group Item Heading</h4> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> <h4 class="list-group-item-heading">Second List Group Item Heading</h4> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> <p class="list-group-item-text">List Group Item Text</p> </a> </div> </div> </body> </html>