Which class is used to create a modal in Bootstrap?
Correct answer
A. .modal-dialog
13 views
A. .modal-dialog
13 views
.modal-dialog is the class required inside a .modal wrapper to build a Bootstrap modal. The structure is .modal > .modal-dialog > .modal-content, which then holds the header, body and footer.
.popup, .dialog-box and .modal-popup are not Bootstrap classes.
Practise more Computer Science MCQs with answers and explanations on MCQsExam.com.
Not sure why the answer is A? Ask here and get an explanation.