simple bootstrap layout code example
Example 1: about section bootstrap 4
<
<nav class="navbar navbar-dark fixed-top navbar-expand-md navbar-no-bg">
<div class="container">
<a class="navbar-brand" href="index.html">Bootstrap 4 One Page Website Tutorial</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link scroll-link" href="#top-content">Top</a>
</li>
<li class="nav-item">
<a class="nav-link scroll-link" href="#services">Services</a>
</li>
<li class="nav-item">
<a class="nav-link scroll-link" href="#about-us">About</a>
</li>
<li class="nav-item">
<a class="nav-link scroll-link" href="#portfolio">Work</a>
</li>
<li class="nav-item">
<a class="nav-link scroll-link" href="#testimonials">Clients</a>
</li>
<li class="nav-item">
<a class="nav-link scroll-link" href="#blog">Blog</a>
</li>
</ul>
</div>
</div>
</nav>
Example 2: bootstrap basic template
<
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<
<title>Bootstrap 101 Template</title>
<
<link href="css/bootstrap.min.css" rel="stylesheet">
<
<
<
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<
</head>
<body>
<h1>Hello, world
<
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<
<script src="js/bootstrap.min.js"></script>
</body>
</html>