Web Quiz
1. What is Bootstrap?
A. A CSS framework for developing responsive websites
B. A JavaScript library
C. A back-end framework
D. A programming language
Submit
2. What is the main purpose of the Bootstrap grid system?
A. To create a responsive layout
B. To apply custom fonts
C. To style buttons
D. To manage form validation
Submit
3. Which class is used to create a button in Bootstrap?
A. .btn-primary
B. .btn
C. .button
D. .btn-default
Submit
4. How can you center a div element horizontally in Bootstrap?
A. Use .mx-auto class
B. Use .text-center class
C. Use .align-center class
D. Use .center-block class
Submit
5. What is the default font size of Bootstrap's HTML elements?
A. 14px
B. 16px
C. 18px
D. 12px
Submit
6. Which Bootstrap class can be used to add a blue background color to a div element?
A. .bg-primary
B. .bg-blue
C. .bg-info
D. .bg-light
Submit
7. How do you make a form element inline in Bootstrap?
A. Use .form-horizontal class
B. Use .form-inline class
C. Use .inline-form class
D. Use .form-group class
Submit
8. Which class is used to create a responsive navigation bar in Bootstrap?
A. .navbar-static-top
B. .navbar
C. .nav
D. .navbar-default
Submit
9. Which class is used to make a table responsive in Bootstrap?
A. .table-responsive
B. .table-condensed
C. .table-striped
D. .table-bordered
Submit
10. Which class provides a set of utility spacing classes in Bootstrap?
A. .spacer
B. .m-*
C. .p-*
D. .spacing
Submit
Back To Home
Score