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