Answers for "group rows in table html"

1

row group html

<table>
  <thead>
    <tr>
      <th> Name </th>
      <th> Qty </th>
      <th> Unit Price </th>
      <th> Cost </th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td> Pencil </td>
      <td> 2 </td>
      <td> 2.50 </td>
      <td> 5.00 </td>
    </tr>
    <tr>
      <td> Pen </td>
      <td> 4 </td>
      <td> 3.50 </td>
      <td> 14.00 </td>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <td colspan = "3"> Total </td>
      <td> 19.00 </td>
    </tr>
  </tfoot>
</table>
Posted by: Guest on March-07-2021

Browse Popular Code Answers by Language