Bootstrap Tutorial - Pager with next and previous








The following code shows how to pager with next and previous.

Example

<!-- www  .j  av  a  2 s.c  o m-->
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet"
  href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">

<style type="text/css">
body {
   margin: 50px;
}
</style>

</head>
<body>
<ul class="pager">
  <li>
    <a href="#">Previous</a>
  </li>
  <li>
    <a href="#">Next</a>
  </li>
</ul>

</body>
</html>

Click to view the demo