Table with Emphasis Classes - HTML CSS Bootstrap

HTML CSS examples for Bootstrap:Table

Description

Table with Emphasis Classes

Demo Code

ResultView the demo in separate window

<!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 Table with Emphasis Classes</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> <!--from   w w  w .j a  va2s. c o  m-->
 <body> 
  <div> 
   <table class="table"> 
    <thead> 
     <tr> 
      <th>Row</th> 
      <th>Bill</th> 
      <th>Payment Date</th> 
      <th>Payment Status</th> 
     </tr> 
    </thead> 
    <tbody> 
     <tr class="active"> 
      <td>1</td> 
      <td>C</td> 
      <td>04/07/2014</td> 
      <td>Call in to confirm</td> 
     </tr> 
     <tr class="success"> 
      <td>2</td> 
      <td>Water</td> 
      <td>01/07/2014</td> 
      <td>Paid</td> 
     </tr> 
     <tr class="info"> 
      <td>3</td> 
      <td>Internet</td> 
      <td>05/07/2014</td> 
      <td>Change plan</td> 
     </tr> 
     <tr class="warning"> 
      <td>4</td> 
      <td>b o ok2s .com</td>
      <td>03/07/2014</td> 
      <td>Pending</td> 
     </tr> 
     <tr class="danger"> 
      <td>5</td> 
      <td>B</td> 
      <td>06/07/2014</td> 
      <td>Due</td> 
     </tr> 
    </tbody> 
   </table> 
  </div>   
 </body>
</html>

Related Tutorials