Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
Bootstrap Table Header Color Example
Keywords : table, bootstrap, bootstrap table, bootstrap tables example, bootstrap table header color, bootstrap responsive table, bootstrap table header color example, bootstrap tables tutorial
Example
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Table Header Color Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> <style> .bcontent { margin-top: 10px; } </style> </head> <body> <div class="container bcontent"> <h2>Bootstrap Table with Header Color</h2> <table class="table table-bordered"> <thead class="thead-dark"> <tr> <th>First Name</th> <th>Last Name</th> <th>Tel No.</th> <th>Email</th> </tr> </thead> <tbody> <tr> <td>Suresh</td> <td>Dasari</td> <td>9000000</td> <td>@suresh</td> </tr> <tr> <td>Rohini</td> <td>Alavala</td> <td>8000000</td> <td>@rohini</td> </tr> <tr> <td>Trishika</td> <td>Dasari</td> <td>7000000</td> <td>@trishi</td> </tr> </tbody> </table> </div> </body> </html>
Click Here to See Result
Result
Previous
Next