ShapeYourPath
(current)
Run Code
Live Code Editor- Bootstrap 5 Colored Alert Link Example
Source Code
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"> <title>Bootstrap Colored Alert Link</title> </head> <body> <h1 class="mt-2">Bootstrap Colored Alert Link </h1> <div class="container mt-5"> <div class="alert alert-success"> <strong>Success!</strong> You can get <a href="#" class="alert-link">your score result.</a>. </div> <div class="alert alert-warning"> <strong>Success!</strong> You can get <a href="#" class="alert-link">your score result.</a>. </div> <div class="alert alert-danger"> <strong>Success!</strong> You can get <a href="#" class="alert-link">your score result.</a>. </div> <div class="alert alert-dark"> <strong>Success!</strong> You can get <a href="#" class="alert-link">your score result.</a>. </div> <div class="alert alert-info"> <strong>Success!</strong> You can get <a href="#" class="alert-link">your score result.</a>. </div> <div class="alert alert-light"> <strong>Success!</strong> You can get <a href="#" class="alert-link">your score result.</a>. </div> </div> <!--/container--> <!-- Option 1: Bootstrap Bundle with Popper --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"></script> </body> </html>
Output :
Running