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 styles a table as a nice basic table with just some light padding and horizontal dividers?

A - .table

B - .table-striped

C - .table-bordered

D - .table-hover

Answer : A

Explanation

If you want a nice, basic table style with just some light padding and horizontal dividers, add the base class of .table to any table.

Q 3 - Which of the following bootstrap style of button indicates caution should be taken with this action?

A - .btn-warning

B - .btn-danger

C - .btn-link

D - .btn-info

Answer : A

Explanation

.btn-warning − Indicates caution should be taken with this action.

Q 4 - Which of the following bootstrap style of button makes the button size small?

A - .btn-lg

B - .btn-sm

C - .btn-xs

D - .btn-block

Answer : B

Explanation

.btn-sm − This makes the button size small.

Q 5 - Which of the following bootstrap styles are used to add a dropdown to a tab?

A - .nav, .nav-tabs, .menu

B - .nav, .nav-tabs, dropdown-.menu

C - .nav, .nav-pills, .dropdown

D - .nav, .nav-pills

Answer : B

Explanation

To add dropdowns to tab: Start with a basic unordered list with the base class of .nav; Add the class .nav-tabs.; Now add an unordered list with a .dropdown-menu class.

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.

Answer : C

Explanation

Both of the above options are correct.

Answer : D

Explanation

data-remote − Using the jQuery .load method, injects content into the modal body. If an href with a valid URL is added, it will load that content.

Answer : D

Explanation

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

bootstrap_questions_answers.htm
Advertisements