Bootstrap 4 Modal The modal is an astounding dialog / prompt box that is appeared on the top of the page to gather the user attention. Let's see an example, <div class="container"> <h3> <a href="https://primestudyhub.blogspot.com/search/label/Bootstrap%204" target="_blank">Bootstrap 4 Modal - Basic</a></h3> <hr/> <!-- Button to Open the Modal --> <button type="button" class="btn btn-warning" data-toggle="modal" data-target="#demoModal"> Open modal </button> <!-- The Modal --> <div class="modal" id="demoModal"> <div class="modal-dialog"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> ...