how to fix colspan and rowspan in 2Ɨ3 table | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

how to fix colspan and rowspan in 2Ɨ3 table

i have use code (available in my shared code) for colspan and rowspan in 2Ɨ3 table .but it's result is not as desired.it is showing an extra cell in row two .plz check it. <table> <tr> <th rowspan="2" >1</th> <th>2</th> <th>3</th> </tr> <tr> <td colspan="2">4<td> </tr> </table>

17th Apr 2020, 2:38 PM
Divya Mohan
Divya Mohan - avatar
2 Respostas
+ 4
For the last <td> tag, you did not end it with a </td> tag, you put another <td>
17th Apr 2020, 3:29 PM
CeePlusPlus
CeePlusPlus - avatar
+ 1
ok got it
17th Apr 2020, 3:38 PM
Divya Mohan
Divya Mohan - avatar