Html – Table

table

Like a list in html5 we have a table structure. As we know inside table we can arrange data row and column that very elegant way to represent the data. So we can say that the table tag displays information in rows and columns.


<table border="1">
    <thead>
        <tr>
            <td>Name</td>
            <td>Aget</td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Xyz</td>
            <td>28</td>
        </tr>
    </tbody>
</table>

here

thead For table header container
tbody For table body container
th table header
tr table row

You May Also Like

About the Author: admin