Web Development

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.

Tuts

About Author

Tutsmaster.org provides tutorials related to tech and programmings. We are also setting up a community for the users and students.

You may also like

HTML introduction
Web Development

HTML – Introduction, History & Syntax

  • December 21, 2019
So, first of all, I would like to ask a question for the first time when you heard this term
html heading tag
Web Development

HTML – Heading Tag With Syntax

  • December 21, 2019
A heading tag is one of the most important tags we focus on in HTML or web development because, without