India's First Software Developer Community


There are some important tags in table tags They are :- 1) table - used to create table 2) tr - Used to create row of the table 3) th - Used for heading of the table 4) td - Used for table data Now we use this tags in our example. now its time for some attributes for example rowspan, colspan

<!DOCTYPE html>   

<table border="1" width="500" height="500">
        <th align="center">Sr. No</th>
        <th align="center">Student</th>
        <th align="center">Roll No.</th>
        <th colspan="2"> This is Colspan</th>
        <td rowspan="2">This is rowspan</td>        

Subscribe Us :

Chapters :-