HTML Tables
Tables are created using the <table> tag. Rows are defined with <tr>, and cells are defined with <td> for data cells and <th> for header cells.
Example:
<table>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>John</td>
<td>25</td>
</tr>
<tr>
<td>Jane</td>
<td>30</td>
</tr>
</table>
Attributes of <table>:
border: Adds a border to the table.cellpadding: Adds padding inside cells.cellspacing: Adds space between cells.
Next Steps
In the next tutorial, we will explore HTML Forms, where you will learn how to collect user input using forms.