Bootstrap Quiz | Set-1
Question 1 |
How we can fix the width of the container in Bootstrap ?
.container-fixed | |
.container-fluid | |
.container | |
.container-default |
Discuss it
Question 1 Explanation:
In bootstrap, the container is used to set the content of the margin. The .container class in bootstrap provides a responsive fixed width of the container.
Question 2 |
What is the maximum number of columns in the bootstrap grid system?
3 | |
12 | |
9 | |
15 |
Discuss it
Question 2 Explanation:
The total number of columns in the bootstrap grinding system is 12. On one page you can make the grid in groups either in 4*3 and 3*4 etc but not greater than 12.
Question 3 |
Which of the below bootstrap classes is used to create the big box in bootstrap ?
.box | |
.container | |
.container-fluid | |
.jumbotron |
Discuss it
Question 3 Explanation:
The .jumbotron is a lightweight and flexible component that can optionally extend the entire viewport to attract the extra attention of users. It is very big and gray.
Question 4 |
How do we create a black navigation bar in Bootstrap ?
.navbar-default | |
.navbar-inverse | |
.navbar-black | |
.navbar-dark |
Discuss it
Question 4 Explanation:
The .navbar-inverse is bootstrap class is used to create a black navigation bar Here inverse takes the value as black.
Question 5 |
Which of the below bootstrap class is used to convert image to circle ?
.img-rounded | |
.img-circle | |
.img-rounded | |
None of the above |
Discuss it
Question 5 Explanation:
The .img-circle adds rounded corners to an image and shapes the image into a circle.
Question 6 |
How do we create the dropdown menu in bootstrap ?
.dropdown | |
.select | |
.select-list | |
None of the above |
Discuss it
Question 6 Explanation:
The .dropdown contain a nested menu item that helps the user to select Items from the entire list.
Question 7 |
Which plugin is used to create a cycle through elements as a slideshow ?
slideshow | |
scroll spy | |
carousel | |
None of the above |
Discuss it
Question 7 Explanation:
The carousel is used to create a cycle through elements as a slideshow. It uses JavaScript to show the animation.
Question 8 |
Which of the following class in Bootstrap is used to create a basic list group ?
.grouped-list | |
.select-list | |
.list-group | |
.list-grouped |
Discuss it
Question 8 Explanation:
List Groups in bootstrap are used to display a series group in an organized manner. For creating the list of items we can use. list-group-item It is used with <ul> element.
Question 9 |
Which bootstrap classes is used to add a zebra stripe to the table ?
.tab-striped | |
.zebra-strip | |
.table-stripped | |
.table-striped |
Discuss it
Question 9 Explanation:
The table-stripped classes are used to create a striped table in bootstrap.
Question 10 |
How we create a large button in Bootstrap ?
.btn-xl | |
.btn-lrg | |
.btn-large | |
.btn-lg |
Discuss it
Question 10 Explanation:
The .btn-lg in bootstrap is used to create the large button in bootstrap, where btn mean button and lg is the size of button i.e large.
There are 15 questions to complete.