Bootstrap is a free, open-source toolkit for creating and designing web applications. It’s a collection of HTML, CSS, and JavaScript code used for developing responsive and mobile-first projects. Developed by Twitter, Bootstrap includes a variety of templates for common web components, like forms, buttons, navigations, dropdowns, alerts, modals, tabs, accordions, carousels, tooltips, and so on. Bootstrap supports all modern browsers and provides a consistent framework that supports major of all browsers and CSS compatibility fixes.
To use Bootstrap in HTML, follow these steps:
1. Set up a basic HTML document structure.
```
```
1. Include Bootstrap CSS file in the head section of your HTML file.
```
```
1. Include Bootstrap JavaScript file in the body section of your HTML file, just before the closing body tag.
```
```
After this setup, you can use Bootstrap classes and components in your HTML code in order to create a variety of design elements and layouts. Here’s a basic example of creating a button:
```
```
In the above code, `btn` applies basic button styling, while `btn-primary` informs Bootstrap to color the button blue, representing a primary action.