- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Add HTML Content to Bootstrap List Group
Bootstrap list groups are added using the list-group-item class.
Add HTML content to the linked list groups using the following code
Example
<!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 = "list-group"> <a href = "#" class = "list-group-item active"> <h4 class = "list-group-item-heading"> Tutorials </h4> </a> <a href = "#" class = "list-group-item"> <h4 class = "list-group-item-heading"> Programming </h4> <p class = "list-group-item-text"> Tutorials on Java, C, C++, etc. </p> </a> <a href = "#" class = "list-group-item"> <h4 class = "list-group-item-heading"> Web Development </h4> <p class = "list-group-item-text"> Tutorials on PHP, HTML5, etc. </p> </a> <a href = "#" class = "list-group-item"> <h4 class = "list-group-item-heading"> Database </h4> <p class = "list-group-item-text"> Tutorials on DBMS, MySQL, DB2, etc. </p> </a> </div> <div class = "list-group"> <a href = "#" class = "list-group-item active"> <h4 class = "list-group-item-heading"> Quiz </h4> </a> <a href = "#" class="list-group-item"> <h4 class = "list-group-item-heading"> CAT </h4> <p class = "list-group-item-text"> Quiz for CAT students. </p> </a> <a href = "#" class = "list-group-item"> <h4 class = "list-group-item-heading">NEET</h4> <p class = "list-group-item-text">Quiz for NEET students.</p> </a> </div> </body> </html>
- Related Articles
- Add badges component to Bootstrap list group item
- Add a background color to the active list item in a Bootstrap list group
- Bootstrap Collapsible list group
- Bootstrap list-group class
- Bootstrap list-group-item class
- Link Bootstrap List Group Items
- How to add multi-language content in HTML?
- How to add an active class on click event in a custom list group in Bootstrap?
- Disable a list item in a Bootstrap list group
- Create a bordered list group in Bootstrap
- Create a list group heading in Bootstrap
- How to add Flash content within a webpage in HTML?
- Add HTML paragraphs into Bootstrap thumbnails
- Add HTML headings into Bootstrap thumbnails
- Item text inside the list group in Bootstrap

Advertisements