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 indicates a warning that might need attention?

A - .active

B - .success

C - .warning

D - .danger

Answer : C

Explanation

.warning − Indicates a warning that might need attention.

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 helps to combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components?

A - .btn-group

B - .btn-toolbar

C - .btn-group-lg

D - .btn-group-vertical

Answer : B

Explanation

.btn-toolbar − This helps to combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.

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 is to be used if you want the .navbar fixed to the top of the page?

A - .navbar-top

B - .navbar-fixed

C - .navbar-fixed-top

D - None of the above.

Answer : C

Explanation

If you want the .navbar fixed to the top of the page, add class .navbar-fixed-top to the .navbar class.

Q 7 - Which of the following bootstrap style can be used to align .pager buttons?

A - .pager-previous, .pager-next

B - .previous, .next

C - .link-previous, .link-next

D - None of the above.

Answer : B

Explanation

.previous, .next − Use class .previous to left align and .next to right-align the links.

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