Bootstrap – A Mobile Front end Framework

Bootstrap – A Mobile Frontend Framework

Have you ever thought of creating a beautiful web page within a day or two? Well with bootstrap it is possible!! Yes, you heard it right, with Bootstrap you can develop a creative device responsive website, single page application and many more. Let’s dive into a little history of Bootstrap.Bootstrap was first released in 2011, initially known as Twitter Blueprint developed at Twitter as a framework for consistency.


So what is this Bootstrap? It’s a mobile-first free front-end framework which could be developed along with HTML, CSS, and JavaScript.A list of websites running on bootstrap are:

Bootstrap is especially used for SPA(Single Page Applications)widely used for portfolios, event promotions, under construction websites and many more.

  • It can also be used along with other scripting tools like PHP, Angular, Python frameworks (Django, Flask).
  • It enhances the outlook and customizes according to one’s need.
  • It is very lightweight and supports all major browser and CSS compatibility fixes.
  • It has a very responsive structure and style.
  • It has grid system which enhances the view in small and large screen devices similar.


How to use Bootstrap??

Bootstrap can be used in two ways:

  • Import from Package(offline usage)
  • Use CDN links (server/browser cache)


As mentioned it can be used both ways, for the package you have to download the file from the official Bootstrap website or you can add the CDN links. These links could be added to the HTML file/s, and the CSS, JS, JQuery files could be accessed. To use the package you have to install on your machine by downloading it from the official website.

The image below will show you what is inside the precompiled bootstrap:


How to the CDN and bootstrap package?

  • To use bootstrap package:

Step1: Download bootstrap from the page


Step2: Install it on your system.


Step3: Save the package in the same folder you want to extract to the HTML file.


Step4: Add these links to the installed package to your head or body elements

<link href=”css/bootstrap.min.css” rel=”stylesheet”>

<script src=”js/bootstrap.min.js”></script><!– jQuery (necessary for Bootstrap’s JavaScript plugins) –> <script src=””></script> <!—CDN link for jquery plugins– >


2)    To use maxCDN links:

   Step1: Copy these links below and add them to  your HTML file.

  Step2: To ensure your HTML file processes your the Bootstrap classes properly, you need to be online before running the HTML file.

Links:<!– Latest compiled and minified CSS –> <link rel=”stylesheet” href=”” >  <!– Optional theme –> <link rel=”stylesheet” href=””>   <!– Latest compiled and minified JavaScript –> <script src=””></script>Now lets see a basic template created using bootstrap:

Below is the source code for the following template:

<!DOCTYPE html>
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<!– Latest compiled and minified CSS –>
<link rel=”stylesheet” href=””>

<!–Optional Bootstrap Theme–>
<link rel=”stylesheet” href=”//”>

<!– jQuery library –>
<script src=””></script>

<!– Latest compiled JavaScript –>
<script src=””></script>
background-repeat: no-repeat;
font-family:Sans Serrif;

font-family:Sans Serrif;
font-size: 25px;

<!–Creating a navigation bar–>
<nav class=”navbar navbar-default”>
<div class=”container-fluid”>
<ul class=”nav navbar-nav”>
<li><a href=”#” >Home </a></li>
<li><a href=”#”>About </a></li>
<li><a href=”#”>Projects </a></li>
<li><a href=”#”>Blog</a></li>
<!–Right aligned navigation contents–>
<ul class=”nav navbar-nav navbar-right”>
<li><a href=”#”>Register</a></li>
<li><a href=”#”>Login</a></li>
<div class=”container-fluid” id=”bg1″>
<div class=”col-md-4″>
<p id=”font1″>Web Developer</p>
<p id=”para”>”Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”</p>
<div class=”col-lg-4″>
<img src=”profile.jpg” alt=”user”>
<div id=”font”>
<p> Name </p>
<p> Age </p>
<p> Gender</p>





Hope this blog inspires you to embrace change and grow. Whether you are an XPLORER or not, feel free to glance through our blogs and help us guide and support you in your voyage to success. Happy Learning!






0 responses on "Bootstrap – A Mobile Front end Framework"

Leave a Message

Your email address will not be published. Required fields are marked *

About Xplore IT Corp

XIC is home to several global certified trainers who are subject matter experts in their respective domains. XIC has Vast experienced resources who are top experts including that of Microsoft, Cisco, Oracle, VMware, Red Hat, Novell, EC Council, Adobe, among others.

© Xplore IT Corp 2017. All rights reserved. Designed by Web Design Company
Xplore WhatsApp Chat
Send via WhatsApp