How to introduce html in bootstrap
css
bootstrap
Bootstrap introduces HTML
How to introduce Bootstrap into HTML?
Introduce Bootstrap into HTML by following these steps:
-
Download the Bootstrap file:
- Visit Bootstrap Official website (https://getbootstrap.com/) and download the latest stable version.
- Unzip the downloaded ZIP file.
-
Copy the CSS and JS files:
- Place
bootstrap.css in the unzipped folder
Copy to your HTML file directory. - Copy
bootstrap.js
in the unzipped folder to your HTML file directory.
- Place
-
Link CSS and JS files in HTML:
-
In HTML file
< ;head>
section, link to the stylesheet:<link rel="stylesheet" href="bootstrap.css">
Copy after login At the bottom of the HTML file, link to the JavaScript:
<script src="bootstrap.js"></script>
Copy after login
-
Example:
<head> <link rel="stylesheet" href="bootstrap.css"><script src="bootstrap.js"></script>Hello, Bootstrap!