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 is the default layout of a bootstrap form?

A - .vertical

B - .inline

C - .horizontal

D - None of the above.

Answer : A

Explanation

Vertical or Basic Form: The basic form structure which comes with Bootstrap.

Q 3 - Which of the following bootstrap style of button provides extra visual weight and identifies the primary action in a set of buttons?

A - .btn

B - .btn-primary

C - .btn-success

D - .btn-info

Answer : B

Explanation

.btn-primary − Provides extra visual weight and identifies the primary action in a set of buttons.

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 style is used to add text to .navbar?

A - .navbar-text

B - .text

C - .form-text

D - None of the above.

Answer : A

Explanation

To wrap strings of text in an element use the class .navbar-text. This is usually used with <p> tag for proper leading and color.

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

A - .breadcrumb

B - .pagination

C - .menu

D - None of the above.

Answer : B

Explanation

.pagination: Add this class to get the .pagination on your page.

Answer : A

Explanation

data-animation − Applies a CSS fade transition to the tooltip.

Answer : B

Explanation

data-html − Inserts HTML into the popover. If false, jQuery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.


bootstrap_questions_answers.htm

Advertisements