Moving to next tutorial in our tutorial series of HTML tutorial we will learn how to create tables in HTML to arrange your data better way on a webpage.
<TABLE> tag, which is a paired tag, is used to create tables in a webpage. For creating a row in a table, you should use <TR> tag. To make a column <TD> tag is used. The <TR> <TD> both are paired tags.
Let’s make a simple table
<TABLE>
<TR>
<TD>Serial</TD>
<TD>Name</TD>
<TD>Marks</TD>
</TR>
<TR>
<TD>1</TD>
<TD>Subodh</TD>
<TD>67</TD>
</TR>
<TR>
<TD>2</TD>
<TD>Rajesh</TD>
<TD>45</TD>
</TR>
</TABLE>
This will give you output as shown below:
| Serial | Name | Marks |
| 1 | Subodh | 67 |
| 2 | Rajesh | 45 |
Previous Tutorial : HTML lists