HTML CSS examples for Bootstrap:Table
Tables with Borders
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Example of Bootstrap 3 Tables with Borders</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <!-- ww w . ja va2 s. c o m--> <body> <div> <table class="table table-bordered"> <thead> <tr> <th>Row</th> <th>First Name</th> <th>Last Name</th> <th>Email</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>A</td> <td>B</td> <td>book2s .com</td> </tr> <tr> <td>2</td> <td>Peter</td> <td>Parker</td> <td>bo ok2s .com</td> </tr> <tr> <td>3</td> <td>A</td> <td>Rambo</td> <td>b o ok2s .com</td> </tr> </tbody> </table> </div> </body> </html>