What is Bootstrap

History of BOOTSTRAP

Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter.It was released as an open source product in August 2011 on GitHub.
In June 2014 Bootstrap was the No.1 project on GitHub.

Benefits of Bootstrap

What is a responsive website

A website is called responsive website which can automatically adjust itself to look good on all devices, from smart phones to desktops etc.

Setting Up Bootstrap

It is easy to download,install, and set up Bootstrap for getting started.There are two ways to start using the framework on a website,which are:
-> Downloading from getbootstrap.com
-> including it from a Content Delivery Network(CDN)

Bootstrap 5 Example

Bootstrap 5 has a basic format for creating web pages. This web page provides fixed and responsive applications for all devices. We can see the following steps in the basic format of the example.
* Bootstrap is mobile-friendly: Bootstrap 5 is designed to be mobile-responsive.
* Bootstrap's core foundation includes mobile-first styling.
* For appropriate rendering and touch zooming, you must include the following tag within the element:

<meta name = "viewport" content = "width=device-width, initial-scale = 1">

The "width=device-width" section is used to set the width of the page to match the device's screen width (vary according to the device).

Apply bootstrap 5 links: the bootstrap 5 can download files from official websites or use online links. The following links use in the head section of the html page.

<link href = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"> </script>


Bootstrap-First Example

<html lang = "en">
<head>
<title> Bootstrap 5 Example </title>
<meta name = "viewport" content = "width=device-width, initial-scale = 1">
<link href = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js">
</script>
</head>
<body>
<h1> First Bootstrap 5 example </h1>
<p> The bootstrap 5 uses container class in div tag.</p>
<p> The container uses contextual background </p>
<b>Resize the browser window to set the container width at different breakpoints. </b>
</body>
</html>