HTMLtable to create and show tables with pagination