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 of image makes the entire image round by adding border-radius:500px?

A - .img-rounded

B - .img-circle

C - .img-thumbnail

D - None of the above.

Answer : B

Explanation

.img-circle − makes the entire image round by adding border-radius:500px.

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

A - .nav, .nav-tabs, .disabled

B - .nav, .nav-tabs

C - .nav, .nav-pills, .nav-disabled

D - .nav, .nav-pills

Answer : A

Explanation

For each of the .nav classes, if you add the .disabled class, it will create a gray link that also disables the :hover state.

Q 6 - Which of the following bootstrap style can be used to create a pager on a page?

A - .pager

B - .pagination

C - .nav

D - None of the above.

Answer : A

Explanation

.pager − Add this class to get the pager links.

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

Explanation

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


bootstrap_questions_answers.htm

Advertisements