Pagination

Move between pages of a long list, with a "Showing 21 to 40 of 312" line, as links or as buttons.

Links, a page in the middle: a gap at the end

A gap on both sides

The first page: Previous is disabled, still readable

The last page, a short one: Next is disabled

Few pages: every number, no gap

Other words for the ends: Newer and Older, no count line

Buttons, client-side: choosing a page redraws the list and updates the line

A narrow space: the numbers give way to “Page 3 of 16”

Steps form: a journal, newest first, and results whose total moves