Footer
We're going to continue with our index.html
and, at this point, we're going to go ahead and create the footer
section, which is going to be reused throughout our other pages. Let's go ahead and add footer
tags just above our scripts. Let's look at the footer
code:
<footer> <div class="container"> <div class="row"> <div class="col-lg-6 col-md-7 col-sm-12"> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Privacy Policy</a></li> </ul> </div> </div> </div> </footer>
So, inside the footer
tag, we're going to create a class="container"
to contain all of the footer content. We will then add a <div class="row">
to set a grid system. For the grid, we're going to have our column, col-lg-6
. In Bootstrap...