O'Reilly logo

Bootstrap Essentials by Snig Bhaumik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to use Bootstrap

As you might have guessed, to use Bootstrap you need to include all the CSS and JavaScript files in your HTML page. One way to do this is after downloading Bootstrap and include the CSS and JavaScript files, or another way is to directly use Bootstrap's CDN files.

Note

CDN stands for Content Delivery (or Distribution) Network. It is a large system of the distributed servers over the Internet across multiple locations. The objective is to provide high performance and high availability of content to the end users.

In case of a downloaded local copy of Bootstrap, we add this in the HTML HEAD section:

<link rel="stylesheet" href="bootstrap.min.css"> <link rel="stylesheet" href="bootstrap-theme.min.css"> <script src="bootstrap.min.js"></script> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required