Bootstrap Interview Questions and Answers

What is Modal plugin used for in Bootstrap?

Modal Plugin is a child window that is layered over its parent window

What is Bootstrap Container in Bootstrap?

Bootstrap container is a class which is useful and creating a centered area in the page for display.

What is Bootstrap?

Bootstrap is a CSS, HTML and JS framework for developing the web applications with less effort. This framework emphasis on developing mobile web applications.

What are the key components of Bootstrap?

The key components of Bootstrap are:

CSS: It comes with plenty of CSS files

Layout Components: List of layout components

JavaScript Plugins: It contains many jQuery and JavaScript plugins

Scaffolding: It gives a basic structure with link styles, Grid system and background

Customize: To get your own version of framework you can modify your components

Can we include bootstrap CDN instead of download the Bootstrap?

Yes sure, we can do from following


What function you can use to wrap a page content?

The function “.container” is used to wrap a page content and using that you can also center the content.

Difference between Bootstrap and Foundation?


Desired to gain proficiency on Bootstrap? Explore the blog post on Bootstrap Training

to become a pro in Bootstrap.

What is difference between Fluid Layout and responsive Layout?

Fluid layout adapts itself to different browser window sizes, all the values used are calculated proportionally to the viewport size, so when resizing, all the columns are resized.

Responsive layout is able to adapt itself to different sizes as well. When resizing, the number of columns changes according to the available space.

What is Jumbotron?

Jumbotron is used for content that you want to highlight like some slogan OR marketing headline.

What to display code in bootstrap?

you can use following tags


What is Bootstrap collapsing elements?

Bootstrap collapsing elements enables you to collapse any element without using external JavaScript.

What are the steps for creating basic or vertical forms?

The steps for creating basic or vertical forms are:

Add a role form to the parent <form> element

Wrap labels and controls in a <div> with class .form-group. To achieve optimum spacing this is needed

Add a class of .form-control to all texturl <input> , <textarea> and <select> elements