December 29, 2018

Srikaanth

Bootstrap Advanced Experienced Freshers Interview Questions Answers

Explain What Is Bootstrap?

Bootstrap is a framework for building the rich web applications with minimal effort. This framework emphasis more on building mobile web applications.

What Is The Use Of Jumbotron In Bootstrap?

In bootstrap, Jumbotron is generally used for content that you want to highlight like some slogan or marketing headline etc. in other words it is used to enlarge the size of the headings and to add a margin for landing page content
To use the Jumbotron in Bootstrap
Create a container <div> with the class of .jumbotron

In Bootstrap What Are The Two Ways You Can Display The Code?

In bootstrap you can display code in two ways

<code> tag: If you are going to display code inline, you should use <code> tag
<pre> tag: If you want to display the code as a standalone block element or it has multiple lines then you should use <pre> tag

Explain 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
Explain What Is Modal Plugin Used For In Bootstrap?

A modal is a child window that is layered over its parent window. Using a custom Jquery Plugin, Bootstrap Modal are created. To enrich user experience and to add functionality to users, modal windows are created with the help of Modal plugin.

Explain What Is Bootstrap Container?

Bootstrap container is a class which is useful and creates a centred area within the page where our site content can be put within. The advantage of the bootstrap .container is that it is responsive and will place all our other HTML code.

Explain What Is Bootstrap Collapsing Elements?

List groups are components to display both simple and complex element with custom content
For example, a simple list group is created using class .list-group to address the list, and class .list-group-item to address individual item.

How You Can Add Badge To List Group In Bootstrap?

To add badge to list group in Bootstrap you have to simply add within the element.

Explain What Media Object In Bootstrap Is And What Are Their Types?

Media objects in Bootstrap enables to put media object like image, video or audio to the left or right of the content blocks. Media element can be created using the class .media and the source is specified in using the class .media-object. Media-objects are of two types,They are of two types

media
media-list

Explain What Is Bootstrap Well?

Bootstrap well is a container <div> that makes the content to appear sunken or an inset effect on the page. In order to create a well, wrap the content that you would like to appear in the well with a <div> containing the class of .well.

Explain Why To Choose Bootstrap For Building The Websites?

There are few reason why we choose Bootstrap for building websites

Mobile Support: For mobile devices it provides full support in one single file rather than in separate file. It supports the responsive design including adjusting the CSS based on the different types of device, size of the screen etc. It reduces extra effort for developers.

Easy to learn: Writing application in bootstrap is easy if you know CSS and HTML

Browser Support: It supports all the popular browsers like Firefox, Opera, Safari, IE etc.

Who Developed The Bootstrap?

Mark Otto and Jacob Thornton at Twitter

What Are The Key Components Of Bootstrap?

Plenty of CSS files
Scaffolding
List of layout components
JavaScript Plugins
Customize your components

Explain What Are Class Loaders In Bootstrap?

Class loader is a part of JRE (Java Runtime Environment) which loads Java classes into Java virtual environment. Class loaders also does the process of converting a named class into its equivalent binary form.

Explain How You Can Create Nav Elements In Bootstrap?

Bootstrap offers various options for styling navigation elements all of them use the same markup and base class .nav.
To create Tabular Navigation or Tabs

Start with a basic unordered list with the base class of .nav
Then add class .nav-tabs

Explain What Is The Use Of Bootstrap Carousel Plugin?

The Carousel plugin is used to add a slider to your site. It is useful in condition where you want to display huge amount of contents within a small space on the web pages. Some of the standard carousel includes

carousel (options)
carousel (‘cycle’)
carousel (‘pause’)
carousel (‘number’)
carousel (‘prev’)
carousel (‘next’)

What Are Bootstrap Labels?

Bootstrap labels are great for offering counts, tips, or other markup for pages. Use class .label to display labels.

What Are Bootstrap Badges?

Badges are similar to labels; the primary difference is that the corners are more rounded. Badges are mainly used to highlight new or unread items. To use badges just add <span class = "badge"> to links, Bootstrap navs, and more.

What Is Bootstrap Jumbotron?

As the name suggest this component can optionally increase the size of headings and add a lot of margin for landing page content. To use the Jumbotron −

Create a containerwith the class of .jumbotron.
In addition to a larger

What Is Bootstrap Page Header?

The page header is a nice little feature to add appropriate spacing around the headings on a page. This is particularly helpful on a web page where you may have several post titles and need a way to add distinction to each of them. To use a page header, wrap your heading in a <div> with a class of .page-header.

What Is Twitter Bootstrap?

Bootstrap is a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development. It uses HTML, CSS and Javascript.

What Does Bootstrap Package Includes?

Bootstrap package includes −

•Scaffolding − Bootstrap provides a basic structure with Grid System, link styles, background. This is is covered in detail in the sectionBootstrap Basic Structure
•CSS − Bootstrap comes with feature of global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system. This is covered in detail in the section Bootstrap with CSS.
•Components − Bootstrap contains over a dozen reusable components built to provide iconography, dropdowns, navigation, alerts, popovers, and much more. This is covered in detail in the section Layout Components.
•JavaScript Plugins − Bootstrap contains over a dozen custom jQuery plugins. You can easily include them all, or one by one. This is covered in details in the section Bootstrap Plugins.
•Customize − You can customize Bootstrap's components, LESS variables, and jQuery plugins to get your very own version.

What Is Bootstrap Grid System?

Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes predefined classes for easy layout options, as well as powerful mixins for generating more semantic layouts.

What Are Bootstrap Media Queries?

Media Queries in Bootstrap allow you to move, show and hide content based on viewport size.
Show a basic grid structure in Bootstrap.
Following is basic structure of Bootstrap grid −
<div class = "container">
   <div class = "row">
      <div class = "col-*-*"></div>
      <div class = "col-*-*"></div> 
   </div>
   <div class = "row">...</div>
</div>
<div class = "container">....

What Are The Types Of Layout Available In Bootstrap?

In Bootstrap there are two types of Layout available

Fluid Layout: Fluid layout is used when you want to create a app that is 100% wide and use up all the width of the screen

Fixed Layout: For a standard screen you will use fixed layout (940 px) option

Explain What Is Bootstrap Grid System?

For creating page layout through a series of rows and columns that house your content Bootstrap Grid Sytem is used.

What Are Offset Columns In Bootstrap?

For more specialized layouts offsets are a useful feature. For more spacing they can be used by pushing column over.
For example, .col-xs=* classes do not support offset but they are easily replicated using an empty cell

What Is Column Ordering In Bootstrap?

Column ordering is one of the feature available in bootstrap and you can easily write columns in an order and show them in another one. With .col-md-push-* and .col-md-pull-*
the order of the column can be easily changed.

What Function You Can Use To Wrap A Page Content?

To wrap a page content you can use .container and using that you can also center the content.

Explain What Pagination In Bootstrap Is And How They Are Classified?

Pagination is the handling of an unordered list by bootstrap. To handle pagination bootstrap provides following classes

.pagination: To get pagination on your page you have to add this class
.disabled, .active: Customize links by .disabled for unclickable links and .active to indicate the current page
.pagination-Ig, .pagination-sm: Use these classes to get different size

What Are Offset Columns?

Offsets are a useful feature for more specialized layouts. They can be used to push columns over for more spacing, for example. The .col-xs = * classes don't support offsets, but they are easily replicated by using an empty cell.

How Can You Order Columns In Bootstrap?

You can easily change the order of built-in grid columns with .col-md-push-* and .col-md-pull-* modifier classes where * range from 1 to 11.

How Do You Make Images Responsive?
Bootstrap 3 allows to make the images responsive by adding a class .img-responsive to the <img> tag. This class applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element.

Explain The Typography And Links In Bootstrap.
Bootstrap sets a basic global display (background), typography, and link styles −
Basic Global display − Sets background-color: #fff; on the <body> element.
Typography − Uses the @font-family-base, @font-size-base, and @line-height-base attributes as the typographic base
Link styles − Sets the global link color via attribute @link-color and apply link underlines only on :hover.

How Will You Create A Bootstrap Panel With Footer

You can add footers to panels, by wrapping buttons or secondary text in a <div> containing class .panel-footer.

What Contextual Classes Are Available To Style The Panels

Use contextual state classes such as, panel-primary, panel-success, panel-info, panel-warning, panel-danger, to make a panel more meaningful to a particular context.

Can You Put A Table Within Bootstrap Panel

Yes! To get a non-bordered table within a panel, use the class .table within the panel. Suppose there is a <div> containing .panel-body, we add an extra border to the top of the table for separation. If there is no <div> containing .panel-body, then the component moves from panel header to table without interruption.

Can You Put A Listgroup Within Bootstrap Panel

Yes! You can include list groups within any panel. Create a panel by adding class .panel to the <div> element. Also add class .panel-default to this element. Now within this panel include your list groups.

What Is Bootstrap Well?

A well is a container in that causes the content to appear sunken or an inset effect on the page. To create a well, simply wrap the content that you would like to appear in the well with a containing the class of .well.

What Is Scrollspy Plugin?

The Scrollspy (auto updating nav) plugin allows you to target sections of the page based on the scroll position. In its basic implementation, as you scroll, you can add .active classes to the navbar based on the scroll position.

What Is Affix Plugin?

The affix plugin allows a to become affixed to a location on the page. You can also toggle it's pinning on and off using this plugin. A common example of this are social icons. They will start in a location, but as the page hits a certain mark, the will be locked in place and will stop scrolling with the rest of the page.

How To Create A Navbar In Bootstrap?

To create a default navbar:

Add the classes .navbar, .navbar-default to the
tag.
Add role = "navigation" to the above element, to help with accessibility.
Add a header class .navbar-header to the
element. Include an element with class navbar-brand. This will give the text a slightly larger size.
To add links to the navbar, simply add an unordered list with the classes of .nav, .navbar-nav.

What Is Bootstrap Breadcrumb?

Breadcrumbs are a great way to show hierarchy-based information for a site. In the case of blogs, breadcrumbs can show the dates of publishing, categories, or tags. They indicate the current page's location within a navigational hierarchy.
A breadcrumb in Bootstrap is simply an unordered list with a class of .breadcrumb. The separator is automatically added by CSS (bootstrap.min.css).

Which Class Is Used For Basic Pagination?

.pagination class is uesed to add the pagination on a page.

How Will You Customize Links Of Pagination?

You can customize links by using .disabled for unclickable links and .active to indicate the current page.

Subscribe to get more Posts :