HTML Table Template

/ Published in: HTML
Save to your folder(s)

Valid HTML table template with example data.

Copy this code and paste it in your HTML
  1. <caption>HTML Table Template</caption>
  2. <tr>
  3. <th scope="col">First name</th>
  4. <th scope="col">Last name</th>
  5. <th scope="col">User name</th>
  6. <th scope="col">Email address</th>
  7. </tr>
  8. </thead>
  9. <tr>
  10. <td colspan="4">
  11. <blockquote><p>&ldquo;<em>tfoot</em> must appear before <em>tbody</em> within a table, so that a browser can render the foot before receiving all the rows of data.&rdquo; <b>&mdash;W3Schools</b></p></blockquote>
  12. </td>
  13. </tr>
  14. </tfoot>
  15. <tr>
  16. <td>Jon</td>
  17. <td>LaBelle</td>
  18. <td>mecha</td>
  19. <td><a href="mailto:[email protected]" rel="author">[email protected]</a></td>
  20. </tr>
  21. </tbody>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.