Answers for "alert html code"

22

Types of HTML alerts

<div class="alert alert-primary" role="alert">
  This is a primary alert—check it out!
</div>
<div class="alert alert-secondary" role="alert">
  This is a secondary alert—check it out!
</div>
<div class="alert alert-success" role="alert">
  This is a success alert—check it out!
</div>
<div class="alert alert-danger" role="alert">
  This is a danger alert—check it out!
</div>
<div class="alert alert-warning" role="alert">
  This is a warning alert—check it out!
</div>
<div class="alert alert-info" role="alert">
  This is a info alert—check it out!
</div>
<div class="alert alert-light" role="alert">
  This is a light alert—check it out!
</div>
<div class="alert alert-dark" role="alert">
  This is a dark alert—check it out!
</div>
Posted by: Guest on April-23-2020
13

how to make an alert in html

<script>
  alert('this is an alert');
</script>
Posted by: Guest on May-06-2020
5

simple alert program in javascript

alert("this is the alert")
Posted by: Guest on May-25-2020
7

javascript alert

alert("string");
Posted by: Guest on May-30-2020

Browse Popular Code Answers by Language