This blog post will clear your queries regarding the concept Pagination in Bootstrap. The need for pagination arises when you have a website with lot of web pages. Basically, Pagination is the process of organizing content by dividing it into separate pages. To create a basic pagination, add the .pagination class to an <ul> element. A basic pagination will look like:
The sizes of pagination can also be change, for this add classes like .pagination-lg, or .pagination-sm to the .pagination base class this will creat larger or smaller pagination. Ffor larger blocks you have to Addclass .pagination-lg and for smaller blocks .pagination-sm.
Sometimes you may simply require previous and next links on your website to provide simple and quick navigation to the user. Like the pagination links, the pager is an unordered list. This can be done using the class .pager.