Reputation: 956
Is it ok to use table tag inside a table tag as shown below, Is it syntactically correct?
Html:
<table width="100%">
<table width="100%">
<tr>
<td> Lorem Ipsum </td>
</tr>
</table>
</table>
Upvotes: 0
Views: 67
Reputation: 231
<table width="100%">
<tr>
<td>
<table width="100%">
<tr>
<td> Lorem Ipsum (Add table inside td)
</td>
</tr>
</table>
</td>
</tr>
</table>
Upvotes: 0
Reputation: 5544
No It is not syntactically correct, You need to add table
in td
<table width="100%">
<tr>
<td>
<table width="100%">
<tr>
<td> Lorem Ipsum </td>
</tr>
</table>
</td>
</tr>
</table>
Upvotes: 2