Bootstrap 3 Striped Responsive Table for Data Listing

Bootstrap 3 Striped Responsive Table for Data Listing

Bootstrap 3 Striped Responsive Table for Data Listing

The HTML tables are the most utilized component in the web application. Essentially, the HTML table is utilized to show the information in line and sections on the site page. It most desirable over improve tables responsive for client encounter. On the off chance that your web application utilizes Bootstrap, you can without much of a stretch from a table plan inside a moment. Likewise, you can make Bootstrap table responsive by including a solitary class.

In this instructional exercise, we will demonstrate to you proper methodologies to make a responsive table with Bootstrap. Utilizing Bootstrap you can enhance the presence of the HTML table in a simple way. The Bootstrap responsive table is the ideal decision for information posting.

The accompanying diverse sorts of table cases causes you to make level tables with fundamental styling utilizing Bootstrap.

The Bootstrap and jQuery library should be incorporated to utilize Bootstrap structure.

Live Demo   Download Source Code

Index.html

<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap 3 Striped Responsive Table for Data Listing by Lisenme</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
    <h2>Bootstrap Responsive Table (Basic)</h2> 
    <table class="table table-responsive">
        <thead>
            <tr>
                <th>First Name</th>
                <th>Last Name</th>
                <th>Email</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Apollonia</td>
                <td>Doe</td>
                <td>Apollonia@example.com</td>
            </tr>
            <tr>
                <td>Josephine</td>
                <td>Thomas</td>
                <td>Josephine@example.com</td>
            </tr>
            <tr>
                <td>Faina</td>
                <td>Jim</td>
                <td>Faina@example.com</td>
            </tr>
        </tbody>
    </table>
    
    <h2>Bootstrap Responsive Table (Striped)</h2> 
    <table class="table table-striped table-responsive">
        <thead>
            <tr>
                <th>First Name</th>
                <th>Last Name</th>
                <th>Email</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Apollonia</td>
                <td>Doe</td>
                <td>Apollonia@example.com</td>
            </tr>
            <tr>
                <td>Josephine</td>
                <td>Thomas</td>
                <td>Josephine@example.com</td>
            </tr>
            <tr>
                <td>Faina</td>
                <td>Jim</td>
                <td>Faina@example.com</td>
            </tr>
        </tbody>
    </table>
    
    <h2>Bootstrap Responsive Table (Hover)</h2> 
    <table class="table table-hover table-responsive">
        <thead>
            <tr>
                <th>First Name</th>
                <th>Last Name</th>
                <th>Email</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Apollonia</td>
                <td>Doe</td>
                <td>Apollonia@example.com</td>
            </tr>
            <tr>
                <td>Josephine</td>
                <td>Thomas</td>
                <td>Josephine@example.com</td>
            </tr>
            <tr>
                <td>Faina</td>
                <td>Jim</td>
                <td>Faina@example.com</td>
            </tr>
        </tbody>
    </table>
    
    <h2>Bootstrap Responsive Table (Bordered)</h2> 
    <table class="table table-bordered table-responsive">
        <thead>
            <tr>
                <th>First Name</th>
                <th>Last Name</th>
                <th>Email</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Apollonia</td>
                <td>Doe</td>
                <td>Apollonia@example.com</td>
            </tr>
            <tr>
                <td>Josephine</td>
                <td>Thomas</td>
                <td>Josephine@example.com</td>
            </tr>
            <tr>
                <td>Faina</td>
                <td>Jim</td>
                <td>Faina@example.com</td>
            </tr>
        </tbody>
    </table>
</div>

</body>
</html>

 

You May Also Like

About the Author: Ranjith Kumar A

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x