Bootstrap Introduction

Sleek, intuitive, and powerful front-end framework for faster and easier web development.

    Bootstrap

  • First you begin to code we are recommend to Download Bootstrap Compiled css and js from Bootstrap website.
  • There are a few easy ways to quickly get started with Bootstrap, each one appealing to a different skill level and use case.
  • Twitter Bootstrap is a CSS framework that helps in designing web applications.
  • Twitter Bootstrap is one of the easiest CSS frameworks to use in the Industry today.
  • Twitter Bootstrap assumes you have no designing knowledge and all you want to do is write some HTML as per the Bootstrap specifications.
  • It means, Twitter Bootstrap has already written a CSS style sheet for you, has inbuilt jQuery support and also has some popular JavaScript tools.

File structure

Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations.

bootstrap/
  |-- css/
  |   |-- bootstrap.css
  |   |-- bootstrap.min.css
  |-- js/
  |   |-- bootstrap.js
  |   |-- bootstrap.min.js
  |-- img/
      |-- glyphicons-halflings.png
      |-- glyphicons-halflings-white.png

Note :This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*).

What's included

Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation.

Docs sections
  • Scaffolding : Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.
  • Base CSS : Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.
  • Components : Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.
  • JavaScript plugins : Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.

List of components

Together, the Components and JavaScript plugins sections provide the following interface elements:

Button groups Button dropdowns Navigational tabs, pills, and lists
Navbar Labels Badges
Page headers and hero unit Thumbnails Alerts
Progress bars Modals Dropdowns
Tooltips Popovers Accordion
Carousel Typeahead

Basic HTML template

With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the File structure.

HTML Coding without Bootstrap
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 101 Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>Hello, world!</h1>
<script src="http://code.jquery.com/jquery.js"></script>
</body>
</html>	
HTML Coding with Boostrap ( include css and js)
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 101 Template</title>
<meta name="viewport" content="width=device-width,
	initial-scale=1.0">

<link href="css/bootstrap.min.css" rel="stylesheet"
	media="screen">
</head>
<body>
<h1>Hello, world!</h1>
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/bootstrap.min.js"<>/script>
</body>
</html>