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 stripes on rows?

A - .table

B - .table-striped

C - .table-bordered

D - .table-hover

Answer : B

Explanation

By adding the .table-striped class, you will get stripes on rows within the <tbody>.

Q 3 - Which of the following bootstrap style of button deemphasize a button by making it look like a link while maintaining button behavior?

A - .btn-warning

B - .btn-danger

C - .btn-link

D - .btn-info

Answer : C

Explanation

.btn-link − Deemphasize a button by making it look like a link while maintaining button behavior.

Q 4 - Which of the following bootstrap style is used for a basic button group?

A - .btn-group

B - .btn-toolbar

C - .btn-group-lg

D - .btn-group-vertical

Answer : A

Explanation

.btn-group − This class is used for a basic button group. Wrap a series of buttons with class .btn in .btn-group.

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

A - .nav, .nav-tabs

B - .nav, .nav-pills

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

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

Answer : C

Explanation

You can stack the pills vertically using the class ..nav-stacked along with the classes: .nav, .nav-pills.

Q 6 - Which of the following bootstrap style can be used to customize .pagination links?

A - .disabled, .active

B - .pagination-active, .pagination-disabled

C - .menu-active, .menu-disabled

D - None of the above.

Answer : A

Explanation

You can customize links by using .disabled for unclickable links and .active to indicate the current page.

Q 7 - Which of the following bootstrap style can be used to get a muted look on a pager buttons?

A - .pager-disabled

B - .disabled

C - .link-disabled

D - None of the above.

Answer : B

Explanation

.disabled − Add this class to get a muted look.

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 : B

Explanation

data-trigger − Defines how the tooltip is triggered: click| hover | focus | manual. You may pass multiple triggers; separate them with a space.


bootstrap_questions_answers.htm

Advertisements