xxxxxxxxxx
1
<div class="container my-4">
2
<p>
3
<strong>Pagination is a component used to indicate the existence of a series of related content across multiple pages and enables navigation across them
4
:</strong>
5
</p>
6
7
<p>
8
Detailed documentation and more examples you can find in our
9
<a
10
href="https://mdbootstrap.com/docs/b4/jquery/components/pagination/"
11
target="_blank"
12
><strong>Bootstrap Pagination Docs</strong></a
13
>
14
</p>
15
16
<hr />
17
18
<p class="font-weight-bold">Basic example</p>
19
20
<p>
21
Documentation and examples for showing pagination to indicate a series of related content exists across multiple pages.
22
</p>
23
24
<div class="border p-5 d-flex justify-content-center ">
25
<!-- Copy this code to have a working example -->
26
<nav aria-label="Page navigation example">
27
<ul class="pagination">
28
<li class="page-item"><a class="page-link" href="#">Previous</a></li>
29
<li class="page-item"><a class="page-link" href="#">1</a></li>
30
<li class="page-item"><a class="page-link" href="#">2</a></li>
31
<li class="page-item"><a class="page-link" href="#">3</a></li>
32
<li class="page-item"><a class="page-link" href="#">Next</a></li>
33
</ul>
34
</nav>
35
<!--/ Copy this code to have a working example -->
36
</div>
37
38
<p class="note note-warning my-3">
39
<strong>Note:</strong> To see more examples and sourcecodes check
40
<a href="https://mdbootstrap.com/docs/standard/navigation/pagination/" target="_blank" >
41
<strong>Bootstrap Pagination Docs</strong>
42
</a>
43
</p>
44
45
<p class="font-weight-bold mt-3">Icons example</p>
46
47
<p>
48
Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with aria attributes.
49
</p>
50
51
<!-- Copy this code to have a working example -->
52
<section class="border p-4 d-flex justify-content-center mb-4">
53
<nav aria-label="Page navigation example">
54
<ul class="pagination mb-0">
55
<li class="page-item">
56
<a class="page-link" href="#" aria-label="Previous">
57
<span aria-hidden="true">«</span>
58
</a>
59
</li>
60
<li class="page-item"><a class="page-link" href="#">1</a></li>
61
<li class="page-item"><a class="page-link" href="#">2</a></li>
62
<li class="page-item"><a class="page-link" href="#">3</a></li>
63
<li class="page-item">
64
<a class="page-link" href="#" aria-label="Next">
65
<span aria-hidden="true">»</span>
66
</a>
67
</li>
68
</ul>
69
</nav>
70
</section>
71
<!--/ Copy this code to have a working example -->
72
73
74
<p class="font-weight-bold mt-3">Disabled and active states example</p>
75
76
<p>
77
Pagination links are customizable for different circumstances. Use <code>.disabled</code> for
78
links that appear un-clickable and <code>.active</code> to indicate the current page.
79
</p>
80
81
<!-- Copy this code to have a working example -->
82
<section class="border p-4 d-flex justify-content-center mb-4">
83
<nav aria-label="...">
84
<ul class="pagination mb-0">
85
<li class="page-item disabled">
86
<a class="page-link" href="#" tabindex="-1" aria-disabled="true">Previous</a>
87
</li>
88
<li class="page-item"><a class="page-link" href="#">1</a></li>
89
<li class="page-item active" aria-current="page">
90
<a class="page-link" href="#">2 <span class="visually-hidden">(current)</span></a>
91
</li>
92
<li class="page-item"><a class="page-link" href="#">3</a></li>
93
<li class="page-item">
94
<a class="page-link" href="#">Next</a>
95
</li>
96
</ul>
97
</nav>
98
</section>
99
<!--/ Copy this code to have a working example -->
100
101
102
103
</div>
1
1
1
1
Console errors: 0