HowTosHTML

Create a HTML Table 6 Rows and 5 Columns

Creating HTML Table is simple and easy if you take it seriously. We have shared a tutorial on how to create a table in HTML. Here is another example of creating a table with 6 rows and 5 columns.

<table align="center" border="2">

    <caption>Address Book</caption>

        <tr>    

            <td>Roll No</td>

            <td>Name</td>

            <td>Address</td>

            <td>Phone Number</td>

            <td>Email Address</td>

        </tr>

        <tr>    

            <td>1</td>

            <td>X1</td>

            <td>X2</td>

            <td>00001</td>

            <td>[email protected]</td>

        </tr>

        <tr>    

            <td>2</td>

            <td>X2</td>

            <td>X3</td>

            <td>00002</td>

            <td>[email protected]</td>

        </tr>

        <tr>    

            <td>3</td>

            <td>X3</td>

            <td>X4</td>

            <td>00003</td>

            <td>[email protected]</td>

        </tr>

        <tr>    

            <td>4</td>

            <td>X4</td>

            <td>X5</td>

            <td>00004</td>

            <td>[email protected]</td>

        </tr>

        <tr>    

            <td>5</td>

            <td>X5</td>

            <td>X6</td>

            <td>00005</td>

            <td>[email protected]</td>

        </tr>

</table>

Output

Here is output.

Back to top button