Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Bootstrap Simple Data Table</title> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> <style> body { color: #666; background: #f5f5f5; font-family: 'Roboto', sans-serif; } .table-responsive { margin: 30px 0; } table.table tr th, table.table tr td { border-color: #e9e9e9; } table.table-striped tbody tr:nth-of-type(odd) { background-color: #fcfcfc; } .table-wrapper { min-width: 1000px; background: #fff; padding: 20px; box-shadow: 0 1px 1px rgba(0,0,0,.05); } .pagination { margin: 10px 0 5px; } .pagination li a { border: none; min-width: 30px; min-height: 30px; color: #999; margin: 0 2px; line-height: 30px; border-radius: 4px !important; text-align: center; padding: 0; } .pagination li a:hover { color: #666; } .pagination li.active a, .pagination li.active a.page-link { background: #59bdb3; } .pagination li.active a:hover { background: #45aba0; } .pagination li:first-child a, .pagination li:last-child a { padding: 0 10px; } .pagination li.disabled a { color: #ccc; } .pagination li i { font-size: 17px; position: relative; top: 1px; margin: 0 2px; } </style> </head> <body> <div class="container-xl"> <div class="table-responsive"> <div class="table-wrapper"> <table class="table table-striped"> <thead> <tr> <th>#</th> <th>Name</th> <th>Address</th> <th>City</th> <th>Pin Code</th> <th>Country</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Thomas Hardy</td> <td>89 Chiaroscuro Rd.</td> <td>Portland</td> <td>97219</td> <td>USA</td> </tr> <tr> <td>2</td> <td>Maria Anders</td> <td>Obere Str. 57</td> <td>Berlin</td> <td>12209</td> <td>Germany</td> </tr> <tr> <td>3</td> <td>Fran Wilson</td> <td>C/ Araquil, 67</td> <td>Madrid</td> <td>28023</td> <td>Spain</td> </tr> <tr> <td>4</td> <td>Dominique Perrier</td> <td>25, rue Lauriston</td> <td>Paris</td> <td>75016</td> <td>France</td> </tr> <tr> <td>5</td> <td>Martin Blank</td> <td>Via Monte Bianco 34</td> <td>Turin</td> <td>10100</td> <td>Italy</td> </tr> </tbody> </table> <ul class="pagination justify-content-center"> <li class="page-item disabled"><a href="#"><i class="fa fa-long-arrow-left"></i> Previous</a></li> <li class="page-item"><a href="#" class="page-link">1</a></li> <li class="page-item"><a href="#" class="page-link">2</a></li> <li class="page-item active"><a href="#" class="page-link">3</a></li> <li class="page-item"><a href="#" class="page-link">4</a></li> <li class="page-item"><a href="#" class="page-link">5</a></li> <li class="page-item"><a href="#" class="page-link">Next <i class="fa fa-long-arrow-right"></i></a></li> </ul> </div> </div> </div> </body> </html>