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>.

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 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 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 is used to align .nav links, forms, buttons, or text to left or right in a .navbar?

A - .navbar-align

B - .navbar-left, .navbar-right

C - .alignment

D - None of the above.

Answer : B

Explanation

You can align the components like .nav links, forms, buttons, or text to left or right in a .navbar using the utility classes .navbar-left or .navbar-right. Both classes will add a CSS float in the specified direction.

Answer : D

Explanation

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

Answer : A

Explanation

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


bootstrap_questions_answers.htm

Advertisements
E-Books Store