How to Link Bootstrap to HTML page


Linking Bootstrap to an HTML file:
To link Bootstrap to an HTML page first we need to paste downloaded Bootstrap and jQuery folders to the root folder of the created website. Nextwe need to link the necessary CSS and JavaScript files to an HTML page.

<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Bootstrap demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet">

<script src="jquery/jquery.min.js" type="text/javascript"></script>
<script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

Interview Questions: