"Table Form"
Bootstrap 4.1.1 Snippet by imsachin

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Animated </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" media="screen" href="main.css" /> <script src="main.js"></script> </head> <body> <div class="container bod mrT40"> <div class="row"> <div class="col-md-12 text-center"> <h2>Heading</h2> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </div> </div> <div class="table-responsive"> <table class="table" id="table2" > <tr> <th>Registration No.</th> <td>sachin</td> <th>ID Card Type</th> <td>Aadhar card</td> </tr> <tr> <th>Registration date</th> <td>14-Oct-19</td> <th>ID Card No.</th> <td>11111111</td> </tr> </table> <table class="table" > <tr> <th>Registration Date</th> <th>Location</th> <th>Complex</th> <th>Booking Type</th> <th>No of Room</th> <th>Tariff</th> <th>GST(S.GST)</th> <th>GST(C.GST)</th> <th>Total</th> </tr> <tr style="vertical-align: middle;"> <td height="100">14-Oct-19</td> <td>Delhi</td> <td>Delhi</td> <td>Card</td> <td>1</td> <td>100</td> <td>20</td> <td>20</td> <td>140</td> </tr> </table> <table class="table" > <h4 class="text-center">Detail</h4> <tr width="200"> <th width="300">Registration Date</th> <th>Location</th> </tr> <tr> <th>Registration Date</th> <th>Location</th> </tr> <tr> <th>Registration Date</th> <th>Location</th> </tr> <tr> <th>Registration Date</th> <th>Location</th> </tr> <tr> <th>Registration Date</th> <th>Location</th> </tr> <tr> <th>Registration Date</th> <th>Location</th> </tr> </table> </div> </div> </body> </html>
table, td, th { border: 2px solid #ccc;} .bod{border:1px solid #000;border:collapse;} #table2 { border-collapse: separate; border-color: #000; border-spacing: 4px; }

Related: See More


Questions / Comments: