Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. For inline dismissal, use the alerts jQuery plugin.
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
</div>
HTML Output
Heads up! This alert needs your attention, but it's not super important.