HTML Tables
Tables are used to display tabular data in HTML. You can define tables using the <table> element and its related tags such as <tr> for table rows, <th> for table headers, and <td> for table cells. Here's an example:
<table>
<tr>
<th>Name</th>
<th>Age</th>
<th>Country</th>
</tr>
<tr>
<td>John</td>
<td>25</td>
<td>USA</td>
</tr>
<tr>
<td>Jane</td>
<td>30</td>
<td>UK</td>
</tr>
</table>
No comments:
Post a Comment