×

Top 15 Bootstrap Interview Questions for 2024

1) Explain what is Bootstrap?

It is a Framework which is used for building the web application with minimal effort. Bootstrap is also used for developing responsive, mobile-first web sites.

2) What is the use of Jumbotron in Bootstrap?

In Bootstrap, jumbotron is used for some special content that you want to highlight like marketing headlines and some slogan etc.

Jumbotron Example

<html>  

<head><title>JUMBOTRON</title>  

<link rel="stylesheet"  

href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">    

</head>  

<body>  

<div class="container">  

<div class="jumbotron">  

  <h1>JUMBOTRON EXAMPLE</h1>  

</div>  

</div>  

 <script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

3) Show a basic grid structure in Bootstrap?

Basic grid structure In BOOTSTRAP:
<html>  

<head><title>GRID EXAMPLE</title>  

<link rel="stylesheet"  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">  </head>  

<body><div class="container">  

<h2>GRID EXAMPLE</h2>  

<div class="col-md-6"><b>BRAND OF CARS</b></div>  

<div class="col-md-2"><b>BMW</b></div>  

<div class="col-md-2"><b>Jaguar</b></div>  

<div class="col-md-2"><b>Audi</b></div><br><br>  

</div>  

 <script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

4) What are the features of Bootstrap?

Features of bootstrap are:
  • Browser compatibilty.
  • Easy to use.
  • Open Source.
  • Responsive Features.

5) Explain the use of navnav-list" in Bootstrap?

Basic example of navnav-list in Bootstrap:
<html>  

<head><title>Example of navnav-list</title>  

<link rel="stylesheet"  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">  </head>  

<body>  

      <ul class="navnav-list">    

            <li class="nav-header"><b>Category</b></li>    

            <li><a href="https://www.tutorialandexample.com/java-interview-questions">JAVA</a></li>    

            <li><a href="https://www.tutorialandexample.com/ajax-interview-questions">AJAX</a></li>    

            <li><a href="https://www.tutorialandexample.com/php-interview-questions">PHP</a></li>    

            <li><a href="https://www.tutorialandexample.com/ruby-interview-questions">RUBY</a></li>      

        </ul>    

      

 <script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

6) Who developed the Bootstrap?

Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter as a framework.

7) What are different types of layout available in Bootstrap?

There are two types of layout available in bootstrap:
  1. Fluid Layout.
  2. Fixed Layout.

8) How to add badges in Bootstrap?

<html>  

<head><title>Badges Example</title>  

<link rel="stylesheet"  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">    

</head>  

<body>  

 <div class="container-fluid">  

 <h2>Badges</h2>    

  <a href="http://www.Twitter.com">Twitter<span class="badge">10</span></a><br>    

  <a href="http://www.Facebook.com">Facebook<span class="badge">20</span></a><br>    

  <a href="http://www.Whatsapp.com">Whatsapp<span class="badge">40</span></a>   

</div>  

<script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

9) In Which language Bootstrap is written?

Html , CSS, LESS , Saas and JavaScript.

10) How do we create a table using bootstrap?

Example of table using bootstrap:
<html>  

<head><title>Table Example</title>  

<link rel="stylesheet"  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">    

</head>  

<body>  

<div class="container">    

 <h1>Table Example</h1>    

  <table class="table">    

  <tr><th>Id</th><th>Name</th><th>Age</th></tr>    

  <tr><td>7014</td><td>Atul</td><td>22</td></tr>    

  <tr><td>7016</td><td>Shivaay</td><td>28</td></tr>    

  <tr><td>7018</td><td>Viraj</td><td>26</td></tr>    

  <tr><td>7002</td><td>Varun</td><td>23</td></tr>    

</table>    

  </div>    

<script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

11) How do we create large button groups in bootstrap?

Example of large button groups in bootstrap:
<html>  

<head>  <title>Button Example</title>  

<link rel="stylesheet"    

href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">    

</head>  

<body>  

<div class="container">    

 <h1>Large Button Group Example</h1>    

<div class="btn-group btn-group-lg">  

<button type="button" class="btn btn-default">default</button>  

<button type="button" class="btn btn-success">success</button>  

<button type="button" class="btn btn-primary">primary</button>  

<button type="button" class="btn btn-danger">danger</button>  

<button type="button" class="btn btn-info">info</button>  

<button type="button" class="btn btn-warning">warning</button>  

</div>    

</div>    

<script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

12) How do we create block buttons in bootstrap?

Example of block buttons in bootstrap:
<html>  

<head><title>Button Example</title>  

<link rel="stylesheet"  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">    

</head>  

<body>  

<div class="container">    

<h1>BLOCK  Button Example</h1>    

<button type="button" class="btn btn-info btn-block">Saved</button>  

<button type="button" class="btn btn-info btn-block">Not Saved</button>  

</div>    

 <script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>  

13) Show that how an animated striped progress-Bar is created in Bootstrap?
Example of animated striped progress-bar:
<html>  

<head><title>Button Example</title>  

<link rel="stylesheet"  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">    

</head>  

<body>  

<div class="container">    

 <h1>Progress-Bar Example</h1>  

<div class="progress progress-striped active ">    

<div class="progress-bar progress-bar-info" style="width:70%;">  

Downloading.....  

</div>  

</div>  

</div>    

 <script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

14) What are the key components of Bootstrap?

Key components of Bootstrap are:
CSS Layout Components
JavaScript Plugins Customize
Scaffolding

15) In Bootstrap show that, how panels can be created with footers?

Example of panel with footer in Bootstrap:
<html>  

<head><title>PANEL Example</title>  

<link rel="stylesheet"  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">    

</head>  

<body>  

<div class="panel panel-info">    

  <div class="panel-heading">    

    <h3 class="panel-title"><strong>Panel title</strong></h3>    

  </div>    

  <div class="panel-body">    

    Panel content    

  </div>    

  <div class="panel-footer"><strong>Panel footer</strong>    

  </div>    

</div>  

<script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>    

<script  src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  

</body>  

</html>

Related Topics

Top 15 Haskell Interview Questions for 2024

1) What is Haskell? Haskell is a functional programming language. It is based on mathematical functions. This programming language is more intelligent than other popular programming languages. 2) Who is the developer of...

2 minutes read.

Top 15 T-SQL(Transact-SQL) Interview Questions for 2024

1) What is T-SQL? T-SQL stands for Transact Structured Query Language. T-SQL is the extension of SQL functionality supported by Microsoft SQL Server and Sybase ASE. 2) What are the features of...

3 minutes read.

Top 25 DB2 Interview question for 2024

1) Give breif detail about DB2? DB2 is a Relational Database Management System developed by IBM. It supports Object Oriented features and non-relational structures with XML. 2) Enlist the types of datatypes...

3 minutes read.

Top 15 MATLAB Interview Questions for 2024

1) What is MATLAB? MATLAB (matrix laboratory) is fourth-generation programming language. It allows matrix manipulations, implementations of algorithm and many more. 2) Who developed MATLAB? MATLAB is developed by MathWorks. 3) In which language...

2 minutes read.

Top 15 JCL (Job Control Language) Interview Questions for 2024

1) What is JCL? JCL refers to Job Control Language. It is a command language which describes job (unit of work) for the Multiple Virtual Storage (MVS) operating system. It is...

3 minutes read.

Top 12 Docker Interview Questions for 2024

Most frequently asked Docker Interview Questions and Answers for Fresher 1. What is Docker? Docker is a new form of Software Containerization in the field of IT. It is an open-source container...

4 minutes read.

Top 30 AJAX Interview Questions for 2024

1) What is AJAX? AJAX (Asynchronous JavaScript and XML) create better, faster and interactive web-apps. It provides data transfer between web-server and browser. 2) List some advantages of AJAX Advantages are: More Interactive: Very...

3 minutes read.

Top 30 D Programming Language Interview Questions for 2024

1) What is D programming language? D programming language is an object oriented programming language. It is created by Walter Bright of Digital Mars. It was released in 2001. 2) Who is the...

4 minutes read.

Top 30 Swift Interview Questions for 2024

1) What is Swift? It is an innovative programming language developed by Apple Inc. It is used for creating applications for iOS and OS X. 2) What are the features of Swift Programming? Features...

4 minutes read.

Top 15 Apache Tapestry Interview Questions for 2024

1) What is Apache Tapestry? It is an open source web framework written in Java and can work under any application server. It is easily integrate with back ends like Hibernate...

2 minutes read.

Django Interview Questions for 2024

Django is an open-source python web framework. It is very popular due to the functionalities it offers. It uses the Model-View-Template architecture. Many giant organizations are using Django as their...

10 minutes read.

Top 14 Web icon Interview Questions for 2024

1) What is Web Icon? Web Icon is a symbol that is used to represent a specific action or a capability on a webpage. It is used in documents as well...

5 minutes read.

Top 30 Less Interview Questions for 2024

1) What is Less? Less is a dynamic style sheet language that can be compiled in to CSS (Cascading style Sheet). It runs on client side and server side. It is...

4 minutes read.

Top 15 ExpressJS Interview Questions for 2024

1) What is ExpressJs? Express Js is a framework for node.js which is light-weight and fast. It is used to develop web and mobile applications. 2) What are the features of ExpressJs? Following...

4 minutes read.

Top 30 Aurelia Interview Questions and Answers

1) What is Aurelia? Aurelia is an open source UI framework which is used for web and mobile app development. This framework is focused on web standards and follows simple conventions. 2) What...

2 minutes read.

Top 30 PyTorch Interview Questions and Answers

Q1: What is PyTorch? Answer: PyTorch is a machine learning library for the programming language Python, based on Torch library, used for application such as natural language processing. It is free...

9 minutes read.

Top 10 GWT Interview Questions for 2024

1) What is Google Web Toolkit (GWT)? GWT (Google Web Toolkit) is a development toolkit. It is used to develop Ajax web applications using Java. GWT compiler translates Java sour ce...

2 minutes read.

Top 15 VBA Interview Questions for 2024

1) What is VBA? VBA stands for Visual Basic Application. It is an event-driven programming language. It is mainly used with Microsoft Office applications such as MS -Excel, MS-Word and MS-Access. 2)...

3 minutes read.

Top 16 Groovy interview Questions for 2024

1) What is Groovy? Groovy is an object oriented programming language. It is based on java platform. It can also be used as scripting language. 2) Who designed the Groovy? James Strachan designed...

2 minutes read.

Artificial Neural Network Interview Questions

1. Explain Neural Network?  Neural Network is a sequence of an algorithm that gives its best to recognize the underlying relationship in a data-set through a process. The artificial neural network...

8 minutes read.