VOOZH about

URL: https://www.geeksforgeeks.org/css/primer-css-tables/

โ‡ฑ Primer CSS Tables - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Primer CSS Tables

Last Updated : 23 Jul, 2025

Primer CSS is a free open-source CSS framework that is built upon systems that create the foundation of the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by Object-Oriented CSS principles, functional CSS, and BEM architecture. It is highly reusable and flexible. It is created with GitHubโ€™s design system.

Primer CSS Tables are used to create the HTML Table using the <thead>, <tfoot>, <tbody>, and <th> tags. The <tfoot> tag is generally placed above the <tbody> tag when we want to load the footer first. In this article, we will discuss Primer CSS Tables.

Primer CSS Tables Tags:

  • <table>: This tag is used to create the table.
  • <thead>: This tag is used to create the table header.
  • <tfoot>: This tag is used to create the table footer.
  • <tr>: This tag is used to create the table row.
  • <tbody>: This tag is used to create the table body.

Syntax:

<table>
 <thead>
 <tr>
 ..
 </tr>
 </thead>
 <tbody>
 <tr>
 ...
 </tr>
 </tbody>
 <tfoot>
 <tr>
 ...
 </tr>
 </tfoot>
</table>

Example 1: The following example demonstrates the Primer CSS Tables.

Output:

๐Ÿ‘ Image
Primer CSS Tables

Example 2: The following example demonstrates the Primer CSS Tables.

Output:

๐Ÿ‘ Image
Primer CSS Tables

Reference: https://primer.style/#tables

Comment