25 Dec Top Bootstrap Interview Questions and Answers
The top Bootstrap Interview Questions and Answers are given here. The level of questions is suitable for beginners as well as advanced web developers,
Let’s begin!
Ques 1. For responsive fixed width container, which Bootstrap class is used?
- .container-fluid
- .container-fixed
- .container
- None of the above
Ques 2. For a full-width container, which Bootstrap class is used?
- .container-fluid
- .container
- .container-full
- .container-responsive
Ques 3. How many columns make a responsive grid in Bootstrap?
- 3
- 4
- 12
- 6
Ques 4. Which HTML character code is used to set a close (x) symbol to the right of the alert?
- '
- »
- ×
- ß
Ques 5. Which class is used to add a link in the alert box?
- .alert-link
- .alert
- .link
- .alertlink
Ques 6. How to create badges in Bootstrap?
- Use the .bd class
- Use the .badge class
- Use the .badge class
- Use the .badge-pill class
Ques 7. Which Bootstrap class is used to make the badges more round?
- .badge-round
- .badge-circle
- .badge-pill
- .badge-rad
Ques 8. How to change the height of a Progress Bar in Bootstrap?
- Use the .progress-bar-height class
- Use the CSS height property
- Use the height attribute
- None of the above
Ques 9. How to change the width of a Progress Bar in Bootstrap?
- Use width attribute
- Use .progress-bar-width class
- Use CSS width property
- None of the above
Ques 10. Which class is used to add stripes to Progress Bar in Bootstrap?
- Use the .striped class
- Use the .progress-striped class
- Use the .progress-bar-striped class
- Use CSS
Ques 11. How to create an animated progress bar in Bootstrap?
- Use .progress-bar-animated class
- Use CSS
- Use .progress-animated class
- Use .animated class
Ques 12. Which class is used to create a basic Navigation Bar in Bootstrap?
- .navbar class
- .nav class
- .nav-bar class
- None of the above
Ques 13. Which Bootstrap class is used to center a Navigation Bar?
- .justify-navbar-center class
- .justify-content class
- .justify-center class
- .justify-content-center class
Ques 14. For the logo in a navigation bar, which Bootstrap class is used?
- .navbar-logo class
- .navbar-brand-logo class
- .navbar-brand class
- None of the above
Ques 15. How to fix a navigation bar on the top of the web page?
- .fixed-top class
- .top-fixed class
- .fixed class
- None of the above
Ques 16. Which Bootstrap class is used to resize the default pagination to a larger size?
- .pagination-large
- .pagination-lg
- .lg-pagination
- None of the above
Ques 17. Which class is used to highlight a pagination link (current page) with Bootstrap?
- .highlight
- pagination-active
- pagination-highlight
- .active class
Ques 18. How to right-align pagination with Bootstrap?
- class=”pagination justify-content-end” (Answer)
- class=”pagination justify-content”
- class=”pagination justify-content-right”
- class=”pagination justify-right”
Ques 19. How to create a circular image (shape image to circle) in Bootstrap?
- .rounded class
- .rounded-circle class
- .round-circle class
- None of the above
Ques 20. How to add rounded corners to an image in Bootstrap?
- .rounded class
- .rounded-corners class
- .round class
- .corners class
Ques 21. Which Bootstrap class is used for responsive images in Bootstrap?
- .image-responsive
- .responsive
- .img-responsive
- .img-fluid
Ques 22. Set Card Title in Bootstrap
- .title class
- .cardtitle class
- .card-title class
- .card-head-title class
Ques 23. Which class is used to create a grid of cards in Bootstrap?
- .card-grid
- .card-grids
- .card-column
- .card-columns
Ques 24. How to add an image to a card background in Bootstrap?
- .card-overlay class
- .overlay class
- .card-img-overlay
- .card-img
Ques 25. How to add a deck of cards in Bootstrap?
- .deck class
- .card-group class
- .card-deck class
- None of the above
Ques 26. How we can separate links in a Bootstrap Dropdown Menu?
- .dropdown-divider class
- .divider class
- .dropdown-separate class
- None of the above
Ques 27. How to create a drop left menu in Bootstrap?
- Add the .drop-left class to the dropdown element
- Add the .dropdown-left class to the dropdown element
- Add the .dropleft class to the dropdown element
- Add the .dropdown-menu-left class to the dropdown element
Ques 28. How to align the dropdown menu to the right in Bootstrap?
- .dropdown-right-menu class
- .dropdownright class
- .dropdown-right class
- .dropdown-menu-right class
Ques 29. How to resize a form control to be larger than the default size in Bootstrap?
- .form-control-large
- .form-large
- .form-control-lg
- .input-control-lg
Ques 30. How to create a checkbox form control in Bootstrap?
- input type =”checkbox”
- input type =”check-box”
- input type =”text” checkbox
- input type =”text” checkbox
Ques 31. Which Bootstrap class is used to create a bordered list group?
- .list-group-bordered
- .list-group
- .group
- None of the above
Ques 32. How to create a list group heading in Bootstrap?
- .listgroup-heading class
- .group-item-heading class
- .list-group-heading class
- .list-group-item-heading class
Ques 33. How to create a large Bootstrap modal wider than the default?
- .modal-large
- .modal-lg
- .lg-modal
- .wider-modal
Ques 34. How to add a transition effect that fades the Bootstrap modal in and out?
- class=”modal-fade”
- class=”modal” fade
- class=”modalfade”
- class=”modal fade”
Ques 35. How to center the modal vertically and horizontally within the page in Bootstrap?
- <div class=”modal-dialog modal-centered”>
- <div class=”modal-dialog modal-dialog-centered”>
- <div class=”modal-dialog centered”>
- <div class=”modal modal-dialog-centered”>
If you find the Bootstrap Interview Questions & Answers, spread the word and share the link and our website Studyopedia with others.
For Videos, Join Our YouTube Channel: Join Now
Read More:
- 100 Android Interview Questions and Answers
- Java Interview Questions and Answers
- Java Basics Interview Questions
- Java Quiz
- Android Quiz
- jQuery Quiz
- HTML5 Quiz
- CSS3 Quiz
No Comments