Displaying Alerts

The w3-container class can be used to display alerts.

Alerts are often displayed using a strong color:

Danger!

Red often indicates a dangerous or potentially negative action.

Warning!

Yellow or orange often indicates a warning that might need attention.

Success!

Green often indicates something successful or positive.

Info!

Blue often indicates a neutral informative change or action.