html tables, list

Updated : 20 Aug 2021 09:28 PM (3 months ago)

code for table

 

<table class="table table-bordered">

                <tr>

                    <th>Sr</th>

                    <th>Name</th>

                    <th>Language</th>

                </tr>

                <tr>

                    <td>1</td>

                    <td>Santosh</td>

                    <td rowspan="2">English</td>

                </tr>

                <tr>

                    <td>2</td>

                    <td>Vikas</td>

                </tr>

                <tr>

                    <td>3</td>

                    <td colspan="2">Deepak English</td>

                </tr>

                

                <tr>

                    <td>4</td>

                    <td>Dhananjay</td>

                    <td>Hindi</td>

                </tr>

            </table>