Bootstrap Introduction
What is Bootstrap?
Bootstrap is a front-end framework for rapidly developing web applications and websites. Bootstrap is based on HTML, CSS, and JavaScript.
History
Bootstrap was developed by Twitter 's Mark Otto and Jacob Thornton Twitter. It was released as an open-source product on GitHub in August 2011.
Why Use Bootstrap?
- Mobile first: Since Bootstrap 3, the framework includes mobile-first styles throughout the entire library.
- Browser support: All major browsers support Bootstrap.

- Easy to Get Started: As long as you have basic knowledge of HTML and CSS, you can start learning Bootstrap.
- Responsive Design: Bootstrap's responsive CSS can adapt to desktops, tablets, and phones. For more about responsive design, see Bootstrap Responsive Design。

- It provides developers with a clean and unified solution for creating interfaces.
- It contains powerful built-in components that are easy to customize.
- It also offers web-based customization.
- It is open source.
Contents of the Bootstrap Package
- Basic structure: Bootstrap provides a basic structure with a grid system, link styles, and backgrounds. This will be covered in detail in the Bootstrap Basic Structure section.
- CSS: Bootstrap comes with the following features: global CSS settings, styles for basic HTML elements, extensible classes, and an advanced grid system. This will be covered in Bootstrap CSS section.
- Component: Bootstrap includes more than a dozen reusable components for creating images, dropdowns, navigation, alerts, popovers, and more. This will be covered in Layout widgets section.
- JavaScript Plugins: Bootstrap includes more than a dozen custom jQuery plugins. You can include all plugins at once or include them one by one. This will be covered in Bootstrap Plugins section.
- Customization: You can customize Bootstrap's components, LESS variables, and jQuery plugins to create your own version.
Online example
The Bootstrap tutorial on this site contains hundreds of examples.
You can use our online editor to edit code online and click the Run button to see the result.
Bootstrap Examples
<div class="container">
<div class="jumbotron">
<h1>My First Bootstrap Page
h1
<
p
Resize the window to see the responsive effect!
p
div
<div class="row">
<div class="col-sm-4">
<h3>Column 1
h3
<
p
What you learn is not only technology, but also a dream!
p
<
p
No matter how awesome the dream, it cannot beat your foolhardy persistence!
p
div
<div class="col-sm-4">
<h3>Column 2
h3
<
p
What you learn is not only technology, but also a dream!
p
<
p
No matter how awesome the dream, it cannot beat your foolhardy persistence!
p
div
<div class="col-sm-4">
<h3>Column 3
h3
<
p
What you learn is not only technology, but also a dream!
p
<
p
No matter how awesome the dream, it cannot beat your foolhardy persistence!
p
div
div
div
Try it »
More examples
Bootstrap Example 2
<div class="table-responsive">
<table class=">table table-striped table-bordered
"
<
thead
<
tr
<
th
th
<
th
Name
th
<
th
Street
th
tr
thead
<
tbody
<
tr
<
td
1
td
<
tdAnna Awesome
td
<
td
Broome Street
td
tr
<
tr
<
td
2
td
<
tdDebbie Dallas
td
<
td
Houston Street
td
tr
<
tr
<
td
3
td
<
tdJohn Doe
td
<
td
Madison Street
td
tr
tbody
table
div
Try it »
Click the "Try it" button to see how it works.