Bootstrap Quiz | Set-2

Last Updated : 27 Sep, 2023

Question 1
Which bootstrap class is used to create a button as a link ?
Cross
.btn-hyperlink
Tick
.btn-link
Cross
.btn-anchor
Cross
None of the above


Question 1-Explanation: 
The .btn-link bootstrap class is used to create a button as a link In which when you click on the button you can redirect to another page.
Question 2
Which class in bootstrap makes a table more compact by cutting cell padding in half ?
Cross
.table-bordered
Cross
.table-responsive
Cross
.table-striped
Tick
.table-condensed


Question 2-Explanation: 
The .table-condensed is bootstrap 3 framework. It can be used when we make a table more compact by cutting cell padding in half.
Question 3
Which of the following class is used to change the size of wells ?
Tick
.well-sm
Cross
.well-xl
Cross
.well-md
Cross
None of the above


Question 3-Explanation: 
The .well-sm class is used to change the size of wells. A bootstrap well is similar to the bootstrap panel with rounded borders and padding around the element. This is responsible for creating some attention towards the content of the webpage.
Question 4
Which of the below class in bootstrap is used to create thumbnail images ?
Cross
.img-crop
Cross
.img-thumb
Cross
.img-thumbnail-image
Tick
.img-thumbnail


Question 4-Explanation: 
The .img-thumbnail is the bootstrap class for shaping the image to a thumbnail is done by the .img-thumbnail class.
Question 5
Which of the below bootstrap class are used to color the panels ?
Cross
panel-primary
Cross
panel-success
Cross
panel-info
Tick
All of the above


Question 5-Explanation: 
Panel in bootstrap is used provide padding with some bordered around the content. panel is created with .panel class in bootstrap. There are many contextual panel classes like .panel-default, .panel-primary, .panel-success etc.
Question 6

Which contextual class in bootstrap indicates that successful action ?

Cross

.text-warning

Cross

.text-primary

Tick

.text-success

Cross

None of these



Question 6-Explanation: 

The .text-success is the contextual class in bootstrap which indicates successful or positive action.

Question 7

Which class applies the hover color to a particular row or cell of a table in bootstrap ?

Cross

.warning

Cross

.danger

Tick

.active

Cross

.success



Question 7-Explanation: 

The .active class applies the hover color to a particular row or cell of a table in bootstrap. It shows the element that is currently viewed

Question 8
Which of the below layout in bootstrap is used for providing 100% width in Bootstrap ?
Cross
Fixed layout
Tick
Fluid layout
Cross
Constraint layout
Cross
Linear layout


Question 8-Explanation: 
Fluid layout in bootstrap is responsible for changing the size of the page when the window size is changed.
Question 9

What is the global default font-size and line-height?

Cross

15px, 1.428

Cross

14px, 1.5

Tick

14px, 1.428

Cross

None of the above



Question 9-Explanation: 

In bootstrap the global default font size is 14px and line height is 1.428.

Question 10

Which bootstrap property used to get different size items for .pagination ?

Cross

.menu-lg, .lg-sm

Tick

.pagination-lg, .pagination-sm

Cross

.menu-lg, .menu-sm

Cross

None of the above.



Question 10-Explanation: 

The .pagination-lg, .pagination-sm in bootstrap is used to get different size items for .pagination where lg means large screen and sm means small screen. 

There are 15 questions to complete.


Share your thoughts in the comments

Similar Reads