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 with a light gray background to rows while the cursor hovers over them?

A - .table

B - .table-striped

C - .table-bordered

D - .table-hover

Answer : D

Explanation

By adding the .table-hover class, a light gray background will be added to rows while the cursor hovers over them.

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 of image adds a bit of padding and a gray border?

A - .img-rounded

B - .img-circle

C - .img-thumbnail

D - None of the above.

Answer : C

Explanation

.img-thumbnail − adds a bit of padding and a gray border.

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

A - .nav, .nav-tabs

B - .nav, .nav-pills

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

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

Answer : D

Explanation

You can make tabs or pills of equal widths as of their parent at screens wider than 768px using class .nav-justified along with .nav, .nav-tabs or .nav, .nav-pills respectively. On smaller screens, the .nav links are stacked.

Q 6 - Which of the following bootstrap style is used to create a .breadcrumb?

A - .breadcrumb

B - .navbar

C - .menu

D - None of the above.

Answer : A

Explanation

A .breadcrumb in Bootstrap is simply an unordered list with a class of .breadcrumb. The separator is automatically added by CSS (bootstrap.min.css).

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

Explanation

data-selector − If a selector is provided, popover objects will be delegated to the specified targets.


bootstrap_questions_answers.htm

Advertisements