In this post I will tell how to make tables. Tables is the Object which has rows and columns like a matrix or an arrangement of a class, students are sitting in rows and columns.
In HTML tables are defined with <table> tag, for rows we have tag <tr> and for putting data into these rows like we are doing entries horizontally we have a tag called <td>.
We can easily understand that <tr> means table row and <td> means table data.
For making a table just start with the <table> tag and make rows with the following data then close the tag.
Example:
<table>
<!--Let this be header row-->
<tr>
<td>Name</td>
<td>Age</td>
<td>And what do you do?</td>
</tr>
<tr>
<td>Bharat</td>
<td>19</td>
<td>Blogging</td>
</tr>
</table>
Is it really simple Try Yourself.
Keep Going.
Viel Spaß
Have Fun!!
In HTML tables are defined with <table> tag, for rows we have tag <tr> and for putting data into these rows like we are doing entries horizontally we have a tag called <td>.
We can easily understand that <tr> means table row and <td> means table data.
For making a table just start with the <table> tag and make rows with the following data then close the tag.
Example:
<table>
<!--Let this be header row-->
<tr>
<td>Name</td>
<td>Age</td>
<td>And what do you do?</td>
</tr>
<tr>
<td>Bharat</td>
<td>19</td>
<td>Blogging</td>
</tr>
</table>
Is it really simple Try Yourself.
Keep Going.
Viel Spaß
Have Fun!!
No comments:
Post a Comment