Which Bootstrap component is used to create a modal dialog box?

  • Alert
  • Modal
  • Popover
  • Tooltip
The correct answer is 'Modal.' The Modal component in Bootstrap is used to create a modal dialog box that is displayed on top of the current page. Modals are often used for displaying additional content, forms, or interactive elements. To use a modal, you need to create a

with the class 'modal' and use JavaScript to control its display.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *