| "alert" | klasa alert |
| "alert-success" | alert np. na zielono |
| "alert-dismissible" | ustawia 'x' w prawym gornym rogu |
| "alert-heading" | heading |
| "alert-link" | link alertu |
| "close" | informuje program: to jest button do zamykania alertu |
| "fade show" | płynne zamykanie |
| × | tworzy 'x' podpowiedz: & |
| "btn-alert" | button np. na czerwono |
| addEventListener("close/closed.bs.alert", function(){}); | eventy gdy zamykany jest alert |
| alertNode.setAttribute("role", "alert"); | dodaje np. klasę o nazwie 'test' albo role="alert" |