Top 500 Bootstrap5 MCQ Interview Questions

Question 201: Which class is used to create a tooltip in Bootstrap 5?
Answer: A) .tooltip
Question 202: How do you create a flex column in Bootstrap 5?
Answer: B) <div class="d-flex flex-column">
Question 203: Which class is used to make text uppercase in Bootstrap 5?
Answer: A) .text-uppercase
Question 204: How do you create a form with a search input in Bootstrap 5?
Answer: C) <form><input type="search" class="form-control"></form>
Question 205: Which class is used for spacing utilities in Bootstrap 5?
Answer: B) .margin-*, .padding-*
Question 206: How do you create a pagination link in Bootstrap 5?
Answer: A) <li class="page-item"><a class="page-link">
Question 207: Which class is used to create a primary alert in Bootstrap 5?
Answer: A) <div class="alert alert-primary">
Question 208: How do you create a badge in Bootstrap 5?
Answer: A) <span class="badge">
Question 209: Which class is used to create a spinner in Bootstrap 5?
Answer: C) .spinner-border
Question 210: How do you create a card with a header in Bootstrap 5?
Answer: A) <div class="card-header">
Question 211: Which class is used to create a dropdown in Bootstrap 5?
Answer: A) .dropdown
Question 212: How do you create a toast notification in Bootstrap 5?
Answer: A) <div class="toast">
Question 213: Which class is used to create a vertical nav in Bootstrap 5?
Answer: B) .nav-pills
Question 214: How do you create a grid layout in Bootstrap 5?
Answer: A) <div class="row"><div class="col">
Question 215: Which class is used to create a responsive image in Bootstrap 5?
Answer: B) .img-fluid
Question 216: How do you create a carousel in Bootstrap 5?
Answer: A) <div class="carousel">
Question 217: Which class is used to create a footer in Bootstrap 5?
Answer: A) .footer
Question 218: How do you create a modal in Bootstrap 5?
Answer: A) <div class="modal">
Question 219: Which class is used to create a table in Bootstrap 5?
Answer: A) .table
Question 220: How do you create a list group in Bootstrap 5?
Answer: A) <ul class="list-group">
Question 221: Which class is used to create a jumbotron in Bootstrap 5?
Answer: A) .jumbotron
Question 222: How do you create a button group in Bootstrap 5?
Answer: A) <div class="btn-group">
Question 223: Which class is used to create a badge in Bootstrap 5?
Answer: A) .badge
Question 224: How do you create a tooltip in Bootstrap 5?
Answer: A) <button data-toggle="tooltip">
Question 225: Which class is used to create a progress bar in Bootstrap 5?
Answer: A) .progress-bar
Question 226: How do you create a pagination in Bootstrap 5?
Answer: C) <ul class="pagination">
Question 227: Which class is used to create a card in Bootstrap 5?
Answer: A) .card
Question 228: How do you create a dropdown in Bootstrap 5?
Answer: A) <div class="dropdown">
Question 229: Which class is used to make an image responsive in Bootstrap 5?
Answer: A) .img-fluid
Question 230: How do you create a spinner in Bootstrap 5?
Answer: A) <div class="spinner-border">
Question 231: Which class is used to create a toast in Bootstrap 5?
Answer: A) .toast
Question 232: How do you create a modal in Bootstrap 5?
Answer: A) <div class="modal">
Question 233: Which class is used to make a list group in Bootstrap 5?
Answer: A) .list-group
Question 234: How do you create a card deck in Bootstrap 5?
Answer: A) <div class="card-deck">
Question 235: Which class is used to create a flexbox container in Bootstrap 5?
Answer: A) .d-flex
Question 236: How do you create a responsive layout in Bootstrap 5?
Answer: C) <div class="container">
Question 237: Which class is used to create a navbar in Bootstrap 5?
Answer: A) .navbar
Question 238: How do you create a breadcrumb in Bootstrap 5?
Answer: A) <nav aria-label="breadcrumb"><ol class="breadcrumb">
Question 239: Which class is used to add a shadow to an element in Bootstrap 5?
Answer: A) .shadow
Question 240: How do you create a tooltip in Bootstrap 5?
Answer: A) <button data-bs-toggle="tooltip">
Question 241: Which class is used to create a spinner in Bootstrap 5?
Answer: A) .spinner-border
Question 242: How do you create a dropdown in Bootstrap 5?
Answer: A) <div class="dropdown">
Question 243: Which class is used to hide an element in Bootstrap 5?
Answer: A) .d-none
Question 244: How do you create a progress bar in Bootstrap 5?
Answer: A) <div class="progress">
Question 245: Which class is used to create a rounded image in Bootstrap 5?
Answer: B) .rounded
Question 246: How do you create a responsive image in Bootstrap 5?
Answer: A) .img-fluid
Question 247: Which class is used to center an element in Bootstrap 5?
Answer: A) .mx-auto
Question 248: How do you create a form group in Bootstrap 5?
Answer: A) <div class="form-group">
Question 249: Which class is used to create a card in Bootstrap 5?
Answer: A) .card
Question 250: How do you create a modal in Bootstrap 5?
Answer: A) <div class="modal">

Showing 201-250 of 500 questions

Contact Tech Spakes Training