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 can be used to create a responsive table?

A - .table-responsive

B - .responsive

C - .active

D - .table

Answer : A

Explanation

By wrapping any .table in .table-responsive class, you will make the table scroll horizontally up to small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.

Q 3 - Which of the following bootstrap style of button represents a contextual button for informational alert messages?

A - .btn

B - .btn-primary

C - .btn-success

D - .btn-info

Answer : D

Explanation

.btn-info − Contextual button for informational alert messages.

Q 4 - Which of the following bootstrap style of button creates block level buttons that span the full width of a parent?

A - .btn-lg

B - .btn-sm

C - .btn-xs

D - .btn-block

Answer : D

Explanation

.btn-block − This creates block level buttons that span the full width of a parent.

Q 5 - Which of the following bootstrap style makes a set of buttons appear vertically stacked rather than horizontally?

A - .btn-group

B - .btn-toolbar

C - .btn-group-lg

D - .btn-group-vertical

Answer : C

Explanation

.btn-group-vertical − This class make a set of buttons appear vertically stacked rather than horizontally.

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 8 - Which of the following class can be used to add a footer to a panel?

A - .panel-footer

B - .footer

C - .panel

D - None of the above.

Answer : A

Explanation

You can add footers to panels, by wrapping buttons or secondary text in a <div> containing class .panel-footer.

Answer : C

Explanation

Both of the above options are correct.

Answer : B

Explanation

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

bootstrap_questions_answers.htm
Advertisements