Bootstrap - Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to Bootstrap Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 2 - Which of the following class indicates a dangerous or potentially negative action?

A - .active

B - .success

C - .warning

D - .danger

Answer : D

Explanation

.danger − Indicates a dangerous or potentially negative action.

Q 3 - Which of the following bootstrap style of button creates a default/ standard button?

A - .btn

B - .btn-primary

C - .btn-success

D - .btn-info

Answer : A

Explanation

.btn − Default/ Standard button.

Q 4 - Which of the following bootstrap style of image gives the image rounded corners?

A - .img-rounded

B - .img-circle

C - .img-thumbnail

D - None of the above.

Answer : A

Explanation

.img-rounded − adds border-radius:6px to give the image rounded corners.

Q 5 - Which of the following bootstrap styles are used to create a tabbed navigation?

A - .nav, .nav-tabs

B - .nav, .nav-pills

C - .nav, .nav-pills, .nav-stacked

D - .nav, .nav-tabs, .nav-justified

Answer : A

Explanation

To create a tabbed navigation .menu: Start with a basic unordered list with the base class of .nav and add class .nav-tabs.

Q 6 - Which of the following bootstrap style is to be used if you want to create an inverted .navbar with a black background and with white text?

A - .navbar-reverse

B - .navbar-inverse

C - .navbar-inverted

D - None of the above.

Answer : B

Explanation

To create an inverted .navbar with a black background and with white text, simply add the .navbar-inverse class to the ..navbar class.

Q 7 - Which of the following bootstrap styles can be used to create a Stacked progress bar?

A - .progress-stacked

B - .progress

C - .progress-stack.

D - None of the above.

Answer : B

Explanation

You can even stack multiple progress bars. Place the multiple progress bars into the same .progress to stack them.

Answer : A

Explanation

data-backdrop − Specify static for a backdrop, if you don't want the modal to be closed when the user clicks outside of the modal.

Answer : D

Explanation

data-selector − If a selector is provided, tooltip objects will be delegated to the specified targets.

Answer : C

Explanation

data-placement − Specifies how to position the popover (i.e., top|bottom|left|right|auto).

bootstrap_questions_answers.htm
Advertisements