Basic HTML Template

Normal Webpage

<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Tutorial</title>
</head>
<body>
	<h1>Hello, world!</h1>
</body>
</html>

Output

Hello, world!

Webpage with Bootstrap

<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Tutorial</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
	<h1>Hello, world!</h1>
	<script src="js/bootstrap.min.js"></script>
</body>
</html>

Output

Hello, world!

With Bootstrap, we include the link to the CSS stylesheet and the JavaScript

Share

You may also like...