Bootstrap MCQ
Bootstrap MCQ
1. Which of the following class in Bootstrap is used to provide a responsive fixed width
container?
a) .container-fixed
b) .container-fluid
c) .container
d) All of the above
Answer: a
Explanation: A container is used in Bootstrap to specify the content’s margins that deal with
your layout’s responsive characteristics. To generate enclosed content, use the .container
class.
3. Which of the following bootstrap styles can be used to create a default progress bar?
a) .nav-progress
b) .link-progress-bar
c) .progress, .progress-bar
d) All of the mentioned
Answer: c
Explanation: A progress bar can be used to display how far along in a process a user is.
Progress bars are available in a variety of styles in Bootstrap. To create a default progress bar,
add a .progress class to a <div> element
6. Which of the following is correct about the data-animation Data attribute of the Popover
Plugin?
a) Gives the popover a CSS fade transition
b) Inserts the popover with HTML
c) Indicates how the popover should be positioned
d) Assigns delegated tasks to the designated targets
Answer: a
Explanation: The data-animation Data attribute of the Popover Plugin gives the popover a
CSS fade transition.
8. Which of the following class applies hover color to a specific row or a cell?
a) Warning
b) Active
c) Success
d) Danger
Answer: b
Explanation: To apply hover color to a particular table row or cell with Bootstrap, the .active
class should be used.