- «
- 1(current) .......
- ...
- ...
- ...
[Try it Β»](#) The result is as follows:  ## Pager If you want to create simple pagination links to provide navigation for users, you can use the pager. Like pagination links, the pager is also an unordered list. By default, the links are centered. The following table lists the classes provided by Bootstrap for handling the pager. | Class | Description | Example Code | | --- | --- | --- | | .pager | Add this class to get pager links. | | | .previous, .next | Use the class **.previous** to align links to the left, and use **.next** to align links to the right. | | | .disabled | Add this class to disable the corresponding button. | | ### Default Pager The following example demonstrates the usage of the class **.pager** discussed in the table above: ## Example [Try it Β»](#) The result is as follows:  ### Aligned Links The following example demonstrates the usage of the classes **.previous, .next** discussed in the table above: ## Example [Try it Β»](#) The result is as follows:  ### Pager States The following example demonstrates the usage of the class **.disabled** discussed in the table above: ## Example [Try it Β»](#) The result is as follows:  * * * ## More Pagination Examples | Class | Description | Example | | --- | --- | --- | | .pager | Simple pagination links, centered. | (#) | | .previous | Previous page button style in .pager, left-aligned. | (#) | | .next | Next page button style in .pager, right-aligned. | (#) | | .disabled | Disabled link. | (#) | | .pagination | Pagination links. | (#) | | .pagination-lg | Larger pagination links. | (#) | | .pagination-sm | Smaller pagination links. | (#) | | .disabled | Disabled link. | (#) | | .active | Current page link style. | (#) |
YouTip