- 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
Bootstrap active Contextual class
The Bootstrap active contextual class applies hover color to a particular row or cell. You can try to run the following code to implement the active contextual class
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Table</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> <table class = "table"> <thead> <tr> <th>Subject</th> <th>Marks</th> <th>Student</th> </tr> </thead> <tbody> <tr> <td>Maths</td> <td>90</td> <td>Amit</td> </tr> <tr class = "active"> <td>Science</td> <td>80</td> <td>Aman</td> </tr> <tr> <td>English</td> <td>85</td> <td>Rahul</td> </tr> </tbody> </table> </body> </html>
- Related Articles
- Bootstrap warning Contextual class
- Bootstrap success Contextual class
- Bootstrap danger Contextual class
- Bootstrap Contextual classes
- Contextual button for informational alert messages with Bootstrap
- Active Nav States in Bootstrap
- Set active state for Bootstrap Buttons
- :active pseudo class in CSS
- How to add an active class on click event in a custom list group in Bootstrap?
- Set Bootstrap badges in active states of pill
- Usage of :active pseudo-class in CSS
- Bootstrap .pagination class
- Bootstrap lead class
- Bootstrap table class
- Bootstrap checkbox class

Advertisements