+ 3
How to create Tables in Html??
7 odpowiedzi
+ 2
Table creation in html is made using the table, tr and td tags.
Below you can find a mock example:
<table>
<tr>
<td>...</td>
<td>...</td>
<td>...</td>
</tr>
<tr>
<td>...</td>
<td>...</td>
<td>...</td>
</tr>
...
<tr>
<td>...</td>
<td>...</td>
<td>...</td>
</tr>
</table>
You can also apply some styling on it, depending on your design requests.
+ 3
Thanks Adrian Nastase
+ 3
Thanks AK
+ 3
All of u thaks
+ 1
there is a <th> tag for table heading aswell. Use is like <td>
+ 1
<table></table> - opened and closed table
<tr></tr> - horizontal position of table
<td></td> - socket in table
<th></th> - title of table
0
To complete the answers above you can also subdivise table in 3 parts with <thead> </thead>, <tbody> </tbody> and <tfoot> </tfoot>.