html tables

<table border="2" width="100%" > <tr> <th>Name</th> <th colspan="2">phone</th <th>address</th> </tr> <tr> <td>Amer</td> <td>9485785</td> <td>9785885</td> <td>Barka</td> </tr> <tr> <td>Ali</td> <td>9485785</td> <td>9785885</td> <td>Barka</td> </tr> <tr> <td>Hamed</td> <td>9485785</td> <td>9785885</td> <td>Barka</td> </tr> </table> why <th>address come out of table .but the <td> of address come inside table????the address heading come out but the address data on table???

19th Feb 2019, 6:48 AM
Sanaa Hareb
Sanaa Hareb - avatar
1 Answer
+ 2
There is one missing closing tag at </th
19th Feb 2019, 7:13 AM
Maneren - avatar