Bootstrap - Online Quiz


Advertisements


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 can be applied to button group instead of resizing each button?

A - .btn-group

B - .btn-toolbar

C - .btn-group-lg

D - .btn-group-vertical

Answer : C

Explanation

.btn-group-lg − This class can be applied to button group instead of resizing each button.

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

A - .nav, .nav-tabs

B - .nav, .nav-pills

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

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

Answer : D

Explanation

You can make tabs or pills of equal widths as of their parent at screens wider than 768px using class .nav-justified along with .nav, .nav-tabs or .nav, .nav-pills respectively. On smaller screens, the .nav links are stacked.

Q 6 - Which of the following bootstrap style can be used to to get different size items of .pagination?

A - .lg, .sm

B - .pagination-lg, .pagination-sm

C - .menu-lg, .menu-sm

D - None of the above.

Answer : B

Explanation

.pagination-lg, .pagination-sm − Use these classes to get different size items.

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

A - .progress-active

B - .active

C - .progress-striped.

D - None of the above.

Answer : B

Explanation

To create an animated progress bar: Add a <div> with a class of .progress and .progress-striped. Also add class .active to .progress-striped. Next, inside the above <div>, add an empty <div> with a class of .progress-bar.

Answer : C

Explanation

Both of the above options are correct.

Answer : D

Explanation

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

Answer : A

Explanation

data-title − Sets the default title value if the title attribute isn't present.


bootstrap_questions_answers.htm

Advertisements