table-info - HTML CSS Bootstrap Class List

HTML CSS examples for Bootstrap Class List:table-info

Description

table-info

Demo Code

<!DOCTYPE html>
<html>
<head>
  <title>Bootstrap Example</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
</head><!--from www. ja va2s .com-->
<body>

<div class="container">
  <h2>Contextual Classes</h2>
  <table class="table">
    <thead>
      <tr>
        <th>Firstname</th>
        <th>Lastname</th>
        <th>Email</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>A</td>
        <td>B</td>
        <td>C</td>
      </tr>
      <tr class="table-primary">
        <td>D</td>
        <td>E</td>
        <td>F</td>
      </tr>
      <tr class="table-success">
        <td>G</td>
        <td>H</td>
        <td>I</td>
      </tr>
      <tr class="table-danger">
        <td>J</td>
        <td>K</td>
        <td>L</td>
      </tr>
      <tr class="table-info">
        <td>AA</td>
        <td>java2s.com</td>
        <td>b o o k 2 s.com</td>
      </tr>
      <tr class="table-warning">
        <td>M</td>
        <td>N</td>
        <td>b oo k 2 s.com</td>
      </tr>
      <tr class="table-active">
        <td>Active</td>
        <td>X</td>
        <td>b ook 2 s.com</td>
      </tr>
      <tr class="table-secondary">
        <td>Y</td>
        <td>table-secondary</td>
        <td>book2 s.com</td>
      </tr>
      <tr class="table-light">
        <td>Light</td>
        <td>table-light</td>
        <td>java2s.com</td>
      </tr>
      <tr class="table-dark text-dark">
        <td>Dark</td>
        <td>Z</td>
        <td>b oo k 2 s.com</td>
      </tr>
    </tbody>
  </table>
</div>

</body>

Related Tutorials