Tables can be made nested by making it come in another table. This consists of many attributes and tags that can be used in nesting the tables.
The tags that are used for the table is as follows:
<TR> : This is the tag that has to be written after the <table> tag and before any other tags. This makes a table row that store the data elements.
<TD> : This tag can be used anywhere and it consists of the data that has to come on the website.
<TH> : This tag consists of the table heading.
The sample code will explain the above explanation much better:
<table><tr><td>this is the first cell</td><td>this is the second cell<table> <!--Starting of the table that is embedded inside another table--><tr><td>this is the first cell second table</td><td>this is the second cell of second table</td></tr></table></td></tr></table>
Answers (0)