Bootstrap alert is prepared for any length of text, as well as an optional close button. For a styling, use one of the required contextual classes (e.g.,.alert-success).

AlertsLink color

Use the .alert-link utility class to immediately give matching colored links inside any alert.

AlertsAdditional content

Alert can also incorporate supplementary HTML elements like heading, paragraph, and divider.


Using the JavaScript plugin, it’s possible to remove any alert.