×

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 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 15 C Interview Questions for 2024

1) What are different storage class specifiers in C? Register,auto, static, extern are the storage class specifiers in C. 2) What is scope of a variable? How are variables scoped in C? Scope...

3 minutes read.

Top 15 Erlang Interview Questions for 2024

1) What is Erlang÷ Erlang is an open source programming language. It is used to build massively scalable soft real-time systems. It has runtime environment. It supports concurrency, fault tolerance and...

2 minutes read.

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...

10 minutes read.

Top 30 Python Interview Questions for 2024

1) What is Python? Python is a high level, interpreted and object-oriented programming language. It is easy to learn and supports multiple programming patterns. It is also known as powerful and versatile...

6 minutes read.

Top 30 Sencha Touch Interview Questions for 2024

1) What is Sencha Touch? Sencha Touch is an UI (User Interface) JavaScript library. It is written in JavaScript. It is used to build mobile interface quickly and easily. It works...

6 minutes read.

Top 30 WordPress Interview Questions for 2024

Most Frequently asked WordPress Interview Questions and Answers 2019 1) What is WordPress? WordPress is an open-source CMS (Content Management System) and a blogging tool. It is used to create web sites and...

5 minutes read.

Top 15 PouchDB Interview Questions for 2024

1) What is PouchDB? PouchDB is an in-browser database that allows applications to save data. It is an open source database. It runs in Node.js. 2) In which language PouchDB was written? PouchDB was written in JavaScript language. 3)...

2 minutes read.

Top 15 CherryPy Interview Questions for 2024

1) What is CherryPy? CherryPy is a web framework used for Python. It provides a friendly interface for Http protocol for Python developer. 2) Why we use CherryPy? CherryPy has following strength: Simplicity: It...

3 minutes read.

Top 15 Struts Interview Questions for 2024

1) What are the Features of Struts 2? Features of Struts 2 are: Configurable MVC components POJO based actions AJAX support Integration support Various Result Types Various Tag support Theme and...

3 minutes read.

Top 25 PL/SQL Interview question for 2024

1) What is PL/SQL? It is defined as SQL having Procedural features of Programming Language i.e. Procedural Language extension of SQL. 2) Enlist the section of PL/SQL block. It consist of three block ...

4 minutes read.

Ember.js Interview questions

1) What is Ember.js? Ember.js is a JavaScript front-end Framework. It provides developer both features for managing complexity in modern web-apps as well as integrated development kit. 2) Why choose Ember.js? Logical...

2 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 30 CSS Interview Questions for 2024

1) Define the process where block elements can be centered with css. It can be centered by using margin-left and margin-right properties we can centered the block level elements. 2) Name the...

4 minutes read.

Top 15 iOS (iPhone, iPad) Interview Questions for 2024

Top 20 Most Frequently asked iOS Interview Questions and Answers 1) What is iOS? iOS is a mobile operating system developed by Apple Inc. iOS offers iPhone and iPad application development using...

3 minutes read.

Top 16 OpenStack Interview Questions for 2024

Most Frequently Asked OpenStack Interview Questions and Answers for Freshers 1. Describe OpenStack. OpenStack is designed as the future of cloud computing and developed as free and open-source software that facilitates a...

8 minutes read.

Top 30 SQL Interview Questions for 2024

1. What is SQL? Ans. SQL stands for Structured Query Language.  It is a standard computer language for accessing, storing, and manipulating data stored in the relational database. SQL become an International Standard Organization (ISO)...

11 minutes read.

Top 28 Firebase Interview Questions for 2024

1) What is Firebase? Firebase is a platform which is used for building Web, IOS and Android applications. It offers: Real time database Different APIs Multiple authentication types and Hosting platform 2) What are the features of...

3 minutes read.

Top 15 ES6 Interview Questions for 2024

Commonly Asked ES6 Interview Questions and Answers 1) What is ES6? ES6 is a scripting language specification standardized. It is used to enable client-side scripting. The specification is influenced by programming languages (Self, Python, Perl,...

2 minutes read.

Top 15 PostgreSQL Interview Questions for 2024

1) What is PostgreSQL? PostgreSQL is a most advance open source database system. PostgreSQL is an object Oriented Relational Database Management System (ORDBMS). PostgreSQL source code is available free of charge...

3 minutes read.