- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
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 alert-danger class
The alert-danger class in Bootstrap is used to set danger action.
You can try to run the following code to implement the alert-danger class in Bootstrap −
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 = "alert alert-danger">This is danger action!</div> </body> </html>
- Related Articles
- Bootstrap .btn-danger class
- Bootstrap danger Contextual class
- Bootstrap 4 .border-danger class
- Bootstrap alert class
- Usage of Bootstrap class panel-danger
- Bootstrap alert-dismissable class
- Bootstrap alert-success class
- Bootstrap alert-link class
- Bootstrap alert-info class
- Bootstrap alert-warning class
- Bootstrap 4 Button .btn-outline-danger class
- Style Bootstrap 4 cards with bg-danger class
- Indicate danger with red outlined Bootstrap 4 Button
- Create a red button that indicates danger in Bootstrap
- How to use Bootstrap Alert Plugins

Advertisements