Bootstrap - Online Quiz


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 indicates a successful or positive action?

A - .active

B - .success

C - .warning

D - .danger

Answer : B

Explanation

.success − Indicates a successful or positive action.

Q 3 - Which of the following bootstrap style of button indicates a successful or positive action?

A - .btn

B - .btn-primary

C - .btn-success

D - .btn-info

Answer : C

Explanation

.btn-success − Indicates a successful or positive action.

Q 4 - Which of the following bootstrap style of button makes the button size extra small?

A - .btn-lg

B - .btn-sm

C - .btn-xs

D - .btn-block

Answer : C

Explanation

.btn-xs − This makes the button size extra small.

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 can be used to customize .pagination links?

A - .disabled, .active

B - .pagination-active, .pagination-disabled

C - .menu-active, .menu-disabled

D - None of the above.

Answer : A

Explanation

You can customize links by using .disabled for unclickable links and .active to indicate the current page.

Q 8 - Which of the following class can be used to add a footer to a panel?

A - .panel-footer

B - .footer

C - .panel

D - None of the above.

Answer : A

Explanation

You can add footers to panels, by wrapping buttons or secondary text in a <div> containing class .panel-footer.

Answer : B

Explanation

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

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