Learn Bootstrap 3
Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.
Bootstrap is completely free to download and use!
Try It Examples
This Bootstrap tutorial contains hundreds of Bootstrap examples.
With the online editor, you can edit the code, and click on a button to view the result.
Bootstrap Example
<div class="jumbotron text-center">
<h1>My First Bootstrap Page</h1>
<p>Resize this responsive page to see the effect!</p>
</div>
<div class="container">
<div class="row">
<div class="col-sm-4">
<h3>Column 1</h3>
<p>Lorem ipsum
dolor..</p>
</div>
<div class="col-sm-4">
<h3>Column 2</h3>
<p>Lorem ipsum
dolor..</p>
</div>
<div class="col-sm-4">
<h3>Column 3</h3>
<p>Lorem ipsum
dolor..</p>
</div>
</div>
</div>
Run the code to see how it works.
Bootstrap Exercises
Bootstrap References
You can find a complete Bootstrap reference of all CSS classes, Components, and JavaScript plugins - all with "Try It" examples:
Complete List of All Bootstrap ClassesPopular Bootstrap CSS Text/Typography Bootstrap CSS Buttons Bootstrap CSS Forms Bootstrap CSS Helpers Bootstrap CSS Images Bootstrap CSS Tables Bootstrap Components Dropdowns Bootstrap Components Navs Bootstrap Components Glyphicons Bootstrap JS Affix Bootstrap JS Alert Bootstrap JS Button Bootstrap JS Carousel Bootstrap JS Collapse Bootstrap JS Dropdown Bootstrap JS Modal Bootstrap JS Popover Bootstrap JS Scrollspy Bootstrap JS Tab Bootstrap JS Tooltip
Bootstrap Themes / Templates
We have made some Bootstrap Templates you can play around with. They are completely free to use:
Browse Themes
Browse Basic Templates
Bootstrap 5 vs. Bootstrap 3 & 4
This tutorial follows Bootstrap 3, which was released in 2013. However, we also cover newer versions; Bootstrap 4 (released 2018) and Bootstrap 5 (released 2021).
Bootstrap 5 is the newest version of Bootstrap; with new components, faster stylesheets, more responsiveness etc. It supports the latest, stable releases of all major browsers and platforms. However, Internet Explorer 11 and down is not supported.
The main differences between Bootstrap 5 and Bootstrap 3 & 4, is that Bootstrap 5 has switched to JavaScript instead of jQuery.
Note: Bootstrap 3 and Bootstrap 4 is still supported by the team for critical bugfixes and documentation changes, and it is perfectly safe to continue to use them. However, new features will NOT be added to them.