Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To add pagination in Bootstrap, place a <ul class="pagination"> inside a purpose-labeled <nav>, then use .page-item for each list item and .page-link for each destination. Mark the current page clearly, make unavailable controls genuinely inactive, and check your project’s Bootstrap version before using an example: the available guidance covers Bootstrap 5.0 and 5.3, not every version.

Check your Bootstrap version first

Use the pagination documentation that matches the version installed in your project. Bootstrap 5.3 documents the component’s current structure and options, while the Bootstrap 5.0 migration notes record changes to pagination, including customizable left margins and transitions. Those notes do not establish what version your project uses. Check its dependency declaration or the framework files loaded by the page before copying markup or relying on version-specific styling.

The examples below use the list-based markup documented for Bootstrap 5. If your project uses Bootstrap 4 or another version, consult that version’s component documentation rather than assuming these examples apply unchanged.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build the navigation with real destinations

Bootstrap’s component uses three classes: .pagination on the list, .page-item on each list item, and .page-link on each link. Wrap the list in a <nav> landmark and give it an accessible name that explains its purpose. For search results, Bootstrap offers “Search results pages” as a suitable label. Each page link should lead to the corresponding page of results or content.

#1 Best Overall
Sale
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
<nav aria-label="Search results pages">
  <ul class="pagination">
    <li class="page-item">
      <a class="page-link" href="/search?page=1">Previous</a>
    </li>
    <li class="page-item">
      <a class="page-link" href="/search?page=1">1</a>
    </li>
    <li class="page-item active">
      <a class="page-link" href="/search?page=2" aria-current="page">2</a>
    </li>
    <li class="page-item">
      <a class="page-link" href="/search?page=3">3</a>
    </li>
    <li class="page-item">
      <a class="page-link" href="/search?page=3">Next</a>
    </li>
  </ul>
</nav>

Replace the example URLs with routes that actually return the relevant page. If there are multiple pagination regions on one page, give each navigation landmark a distinct, purpose-specific label so users can tell them apart.

Represent the current page correctly

Add .active to the current page’s .page-item. If its control is an anchor, also set aria-current="page" on that anchor. This communicates the current page beyond visual styling. Keep only one page marked current within a pagination control.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

If the current page should not be a link, use a non-interactive <span class="page-link"> inside the active list item instead. A span is not keyboard-interactive, so it does not need aria-current according to Bootstrap’s example guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Handle unavailable previous and next controls

Bootstrap’s .disabled class changes an item’s appearance, but its pointer-event suppression does not by itself prevent keyboard users from reaching an anchor. Choose an implementation that matches whether the control should remain interactive:

Rank #3
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.
  • Use a span when there is no destination. Replacing the anchor with a non-interactive span removes it from keyboard focus and prevents link activation.
  • If you keep an anchor, disable it beyond its appearance. Bootstrap advises adding tabindex="-1" and custom JavaScript to fully disable the link. Ensure the script also prevents activation; the class alone is not sufficient.
  • Do not leave a dead destination. When a previous or next page exists, keep the control linked to that real page rather than styling a functional link as disabled.

For example, a non-interactive previous control on the first page can be written as:

<li class="page-item disabled">
  <span class="page-link">Previous</span>
</li>

Adjust size and alignment

After the navigation structure and states work, Bootstrap documents small and large pagination variants. Apply the size class to the list. Flexbox utilities can align the list within its container.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
Presentation Class Where to apply it
Default size and alignment .pagination On the list
Small pagination .pagination.pagination-sm On the list
Large pagination .pagination.pagination-lg On the list
Centered .justify-content-center On the list
Aligned to the end .justify-content-end On the list

For example, a centered small control uses <ul class="pagination pagination-sm justify-content-center">. Confirm the chosen alignment and size remain readable and usable in the surrounding layout.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Verify accessibility and behavior

Bootstrap says a project’s overall accessibility depends substantially on the author’s markup, additional styling, and scripting. Its accessibility guidance also cautions that some default foreground and background color combinations may fall below WCAG 2.1 contrast recommendations. Framework classes do not guarantee that a finished pagination control is accessible.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
  • Use a descriptive label on the navigation landmark; make labels distinct if the page has multiple pagination regions.
  • Confirm that each link has the correct destination and that previous and next controls appear only when their destinations are available.
  • Use a keyboard to check that active links can be reached and unavailable controls cannot be activated or reached when they are meant to be disabled.
  • Check that focus is visible and that the current-page state is conveyed by more than color or appearance.
  • Inspect the actual foreground and background colors in the rendered page for sufficient contrast.

Bootstrap’s v5.2 accessibility guidance explains the author’s role and its contrast caution at Bootstrap accessibility. For component markup and documented options, use the Bootstrap v5.3 pagination documentation or the component docs for the version your project has installed. The Bootstrap v5.0 migration notes provide the version-specific migration context.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.