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>.

Answer : C

Explanation

Both of the above options are correct.

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 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 used to add standard links to .navbar?

A - .navbar-link

B - .link

C - .form-link

D - None of the above.

Answer : A

Explanation

If you want to use the standard links that are not within the regular .navbar navigation component, then use the class .navbar-link to add proper colors for the default and inverse .navbar options.

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

A - .progress, .progress-bar

B - .nav-progress

C - .link-progress-bar

D - None of the above.

Answer : A

Explanation

To create a basic progress bar: Add a <div> with a class of .progress. Next, inside the above <div>, add an empty <div> with a class of .progress-bar.

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

Explanation

data-placement − Specifies how to position the popover (i.e., top|bottom|left|right|auto).


bootstrap_questions_answers.htm

Advertisements