Using pagination can help you avoid prolonging the length of your website with long tables or text. As you can see, this code has a pagination in three sizes to use the desired size for your website. The pagination shown in this post has a thin, gray border. Also, by placing the mouse on each item, the background of the item will be colored gray.