Skip to content

Instantly share code, notes, and snippets.

@aspencer8111
Last active December 13, 2017 17:42
Show Gist options
  • Save aspencer8111/b28d3a13e6b7597a38d3aaffbd195bee to your computer and use it in GitHub Desktop.
Save aspencer8111/b28d3a13e6b7597a38d3aaffbd195bee to your computer and use it in GitHub Desktop.
table-example
<table>
  <thead>
    ...
  </thead>
  <tbody> <!-- table body declaration -->
    <tr> <!-- table row start -->
      <td>Salad</td> <!-- table body cell -->
      <td>Delicious Cobb Salad</td> <!-- table body cell -->
      <td>$7.99</td> <!-- table body cell -->
    </tr> <!-- end table row -->
  </tbody> <!-- end table body -->
</table>
  1. What are table headings? Send the answer to your mentor. Table headings or the <thead> tag is used to group header content in an HTML table. It is used with the <tbody> and <tfoot> to specify each part of a table, the header, the body, and the footer.
  2. Create a table with multiple rows. The table can be blank. Including table data is optional. Send the code to your mentor.
<table>
    <thead>
    </thead>
    <tbody>
        <tr>
            <td>optinal table data </td>
        </tr>
        <tr>
        </tr>
    </tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment