Create a yellow color alert box that indicates caution in Bootstrap

To create a yellow color alert box indicating a warning action, use the alert-warning class.

To implement an alert-warning class, you need to try to run the following code


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link rel = "stylesheet" href = "">
      <script src = ""></script>
      <script src = ""></script>
      <div class = "alert alert-info">
         <p>Indicates a positive action!</p>
      <div class = "alert alert-warning">
         <p>Indicates warning!</p>
Lakshmi Srinivas
Lakshmi Srinivas

Programmer / Analyst / Technician