HTMLHTML Tables

Use HTML tables to display tabular data. A table uses <table>, and rows are created with <tr>. Inside each row, use <td> for data and <th> for headers.

<table border=\"1\">
  <tr>
    <th>Name</th>
    <th>Age</th>
  </tr>
  <tr>
    <td>Alice</td>
    <td>25</td>
  </tr>
</table>