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 just some light padding and horizontal dividers?

A - .table

B - .table-striped

C - .table-bordered

D - .table-hover

Answer : A

Explanation

If you want a nice, basic table style with just some light padding and horizontal dividers, add the base class of .table to any table.

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 image gives the image rounded corners?

A - .img-rounded

B - .img-circle

C - .img-thumbnail

D - None of the above.

Answer : A

Explanation

.img-rounded − adds border-radius:6px to give the image rounded corners.

Q 5 - Which of the following bootstrap styles are used to add a dropdown to a tab?

A - .nav, .nav-tabs, .menu

B - .nav, .nav-tabs, dropdown-.menu

C - .nav, .nav-pills, .dropdown

D - .nav, .nav-pills

Answer : B

Explanation

To add dropdowns to tab: Start with a basic unordered list with the base class of .nav; Add the class .nav-tabs.; Now add an unordered list with a .dropdown-menu class.

Q 6 - Which of the following bootstrap style is to be used if you want to create a .navbar that scrolls with the page?

A - .navbar-static-top

B - .navbar-fixed

C - .navbar-fixed-top

D - None of the above.

Answer : A

Explanation

To create a .navbar that scrolls with the page, add the ..navbar-static-top class. This class does not require adding the padding to the <body>.

Answer : C

Explanation

Both of the above options are correct.

Answer : D

Explanation

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

Answer : D

Explanation

data-delay − Delays showing and hiding the tooltip in ms , does not apply to manual trigger type. If a number is supplied, delay is applied to both hide/show.


bootstrap_questions_answers.htm

Advertisements