< table > in HTML (Source code)

A Simple Table example in HTML

 

Each table row is defined with a <tr> tag


table header is defined with a <th> tag


 the text in <td> elements are regular and left-aligned


 

The <table> tag defines an HTML table

 

 <table style="width:100%">

  <tr>

    <th>First Name</th>

    <th>Last Name</th>

    <th>Age</th>

  </tr>

  <tr>

    <td>Tech</td>

    <td>Forum</td>

    <td>1</td>

  </tr>

  <tr>

    <td>Arya</td>

    <td>Jhon</td>

    <td>59</td>

  </tr>

</table>

Comments

Last 7 Days

How do you give an < image > a tag?

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ?

Why TD is used in HTML?

How to use comments in Solidity programming language ?