
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
Bootstrap Collapsible list group
To create a collapsible list group, use the panel-collapse property with list-group property.
Example
The list-group property lists items using the list-group-item property −
<!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 = "container"> <h2>Questions/ Answers</h2> <p>Click below to learn about the technologies for which we provide Interview Questions.</p> <div class = "panel-group"> <div class = "panel panel-default"> <div class = "panel-heading"> <h4 class = "panel-title"> <a data-toggle = "collapse" href = "#test">Info</a> </h4> </div> <div id = "test" class="panel-collapse collapse"> <ul class = "list-group"> <li class = "list-group-item">Java</li> <li class = "list-group-item">PHP</li> <li class = "list-group-item">C++</li> <li class =" list-group-item">HTML5</li> <li class =" list-group-item">jQuery</li> </ul> </div> </div> </div> </div> </body> </html>
- Related Articles
- Bootstrap Collapsible link
- Bootstrap Collapsible button
- Bootstrap Collapsible panel
- Bootstrap Collapsible in
- Bootstrap list-group class
- Bootstrap list-group-item class
- Link Bootstrap List Group Items
- Disable a list item in a Bootstrap list group
- Add HTML Content to Bootstrap List Group
- Create a bordered list group in Bootstrap
- Create a list group heading in Bootstrap
- Add badges component to Bootstrap list group item
- Item text inside the list group in Bootstrap
- Display the collapsible content by default with Bootstrap
- How to add badge to list group in Bootstrap?

Advertisements