Edit This Code:
<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
  <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h2>Pagination</h2>
  <p>Larger .pagination class:</p>                  
  <ul class="pagination pagination-lg">
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">«</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">1</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">2</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">3</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">»</a></li>
  </ul>

  <p>Standard .pagination class:</p>                  
  <ul class="pagination">
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">«</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">1</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">2</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">3</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">»</a></li>
  </ul>

  <p>Smaller .pagination class:</p>                  
  <ul class="pagination pagination-sm">
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">«</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">1</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">2</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">3</a></li>
    <li><a href="tryit.asp-filename=trybs_ref_comp_pagination-lg&stacked=h.html#">»</a></li>
  </ul>
</div>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy