- 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
Indicate a dangerous action to a particular table row or cell with Bootstrap
To indicate a dangerous action to a particular table row or cell with Bootstrap, use the .danger class. You can try to run the following code to implement the .danger 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> <div class = "table-responsive"> <table class = "table"> <thead> <tr> <th>Subject</th> <th>Marks</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>Java</td> <td>90</td> <td>Programming Language</td> </tr> <tr class = "warning"> <td>PHP</td> <td>92</td> <td>Scrpting Language</td> </tr> <tr class = "danger"> <td>jQuery</td> <td>80</td> <td>JavaScript Library</td> </tr> </tbody> </table> </div> </body> </html>
- Related Articles
- Indicate a successful action to a particular table row or cell with Bootstrap
- Indicate a warning action to a particular table row or cell with Bootstrap
- Show dangerous action on a table row with Bootstrap
- Apply the hover color to a particular table row or cell with Bootstrap
- Create a red color alert box that indicates a dangerous action in Bootstrap
- Indicate a close icon with Bootstrap
- Indicate a tabbed menu with Bootstrap
- Add information to the table row with Bootstrap
- How to get the values of a particular row in a table in Selenium with python?
- Indicate collapsible content that can be hidden or shown with Bootstrap
- How to set a value in a particular JTable cell with Java?
- How can we fetch a particular row as output from a MySQL table?
- Add denser information to a table with Bootstrap
- Add hover color to a table with Bootstrap
- Subquery to exclude a particular row in MySQL

Advertisements