Check out example codes for "table html structure". It will help you in understanding the concepts better.

Code Example 1

<table>
    <thead>
        <tr>
            <th colspan="2">The table header</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>The table body</td>
            <td>with two columns</td>
        </tr>
    </tbody>
</table>

Code Example 2

<table style="width:100%"> 
  <tr>
      <th>Firstname</th>
      <th>Lastname</th> 
      <th>Age</th>
  </tr>
  <tr>
      <td>Jill</td>
      <td>Smith</td> 
      <td>50</td>
  </tr>
  <tr>
      <td>Eve</td>
      <td>Jackson</td> 
      <td>94</td>
  </tr>
</table>

Code Example 3

Table

Code Example 4

<table>

       
      <tr>

         
      <th>Month</th>

         
      <th>Savings</th>

       
      </tr>

       
      <tr>

         
      <td>January</td>

         
      <td>$100</td>

       
      </tr>

      </table>

Learn ReactJs, React Native from akashmittal.com