HTML Tables

 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

The Importance of Cybersecurity in the Digital Age

 The Importance of Cybersecurity in the Digital Age Introduction: In today's digital age, where technology is deeply intertwined with ev...