Give syntax of making table in html
Answers
Answered by
0
Hi there! The syntax is like as follows:
<table>
<tr> <td> BLOCK 1 </td><tr> <td> BLOCK 2 </td> </tr> </tr>
<tr> <td> BLOCK 3 </td> <tr> <td> BLOCK 4 </td> </tr>
</tr>
<tr> <td> BLOCK 5 </td> <tr> <td> BLOCK 6 </td> </tr>
</tr>
</table>
β Note: You can add many <td> elements in a single <tr> (table row).
I hope this helps.
<table>
<tr> <td> BLOCK 1 </td><tr> <td> BLOCK 2 </td> </tr> </tr>
<tr> <td> BLOCK 3 </td> <tr> <td> BLOCK 4 </td> </tr>
</tr>
<tr> <td> BLOCK 5 </td> <tr> <td> BLOCK 6 </td> </tr>
</tr>
</table>
β Note: You can add many <td> elements in a single <tr> (table row).
I hope this helps.
Similar questions
Math,
8 months ago
English,
8 months ago
Computer Science,
1 year ago
Science,
1 year ago
Biology,
1 year ago