Syntax error Bootstrap .pagination class

Bootstrap .pagination class



Use the .pagination class to get the pagination on your page.

You can try to run the following code to implement the .pagination class −

Example

 Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <h2>Coding Examples</h2>
      <p>The following are the examples:</p>
      <ul class = "pagination">
         <li><a href = "#">«</a></li>
         <li><a href = "#">Code1</a></li>
         <li><a href = "#">Code2</a></li>
         <li><a href = "#">Code3</a></li>
         <li><a href = "#">»</a></li>
      </ul>
   </body>
</html>
Updated on: 2020-06-12T10:28:54+05:30

429 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements