Pagination
Pagination
Splitting a long list into numbered pages: 1, 2, 3…
💡 It's like splitting a thick book into numbered pages.
👆 Try it yourself
It really works — click around and see.
- Post 1
- Post 2
- Post 3
CSSCurrent page: 1 / 7
🤖 Say this to your AI
Add Pagination to the post list. Show 10 posts per page, and put 'Previous 1 2 3 4 5 Next' buttons below, with the current page highlighted.
The key word is ‘Pagination’. Including it helps AI understand you much more precisely.
When to use it
- When you have lots of items, like forum posts or search results
Also called: page numbers, next page, 1 2 3, paging, previous and next, page buttons