i

Learn HTML and CSS in 10 Days

CSS Pagination

It is a very good process to index different website pages.

Let’s see an example of a basic pagination. You have to utilize a pagination class in

  • element to get into it.

    ul.pagination { 

    display: inline-block; 

    padding: 0; 

    margin: 0; 

    ul.pagination li {display: inline;} 

    ul.pagination li a { 

    color: black; 

    float: left; 

    padding: 8px 16px; 

    text-decoration: none;