I think you do not need this element at all. Your buttons belong together and must stay together, for example
<div class="paginationBar"> <button class="previous">Previous</button> <button>1</button> <button>2</button> <button>3</button> <button class="next">Next</button> </div>
It is very easy to insert dynamic buttons where you want them either on the back-end or on the front-end (e.g. jQuery .insertAfter() )
If you do not need to support some old IE, you can also get rid of the classes on your buttons and use :first-child - :last-child for their styles:
<div class="paginationBar"> <button>Previous</button> <button>1</button> <button>2</button> <button>3</button> <button>Next</button> </div>
UPDATE
Speaking of a button container, the most appropriate tag is probably <nav> .
Other possible uses of <nav>
- Content
- Previous / next buttons (or pagination)
- Search form
- Breadcrumbs
A SOURCE
source share