OnlineCBT Logo OnlineCBT
HTML Tutorial
HTML · LESSON 26

Table Sections

By Ratan Updated: 16 Oct 2026

Organize tables semantically using <thead>, <tbody>, <tfoot>, and <caption> elements.

Level: Beginner to Advanced
Duration: ~60 Mins Deep-Dive

1. Semantic Table Sections: , ,

Semantic table sections organize tabular content into three distinct logical blocks:

  • : Wraps the top header row(s). Browsers can pin this header row when scrolling long data tables or repeat it on printed pages.
  • : Encapsulates the core data records.
  • : Wraps the summary/footer row (e.g., total sums, averages).

2. Production Example with Summary Row

Student Fee Ledger Summary
Invoice # Description Amount (INR)
INV-001 NEET UG Full Mock Test Series ₹1,999
INV-002 Previous Year Solved Papers Booklet ₹499
Total Net Payable ₹2,498

📝 Live Lesson Practice

HTML/CSS JavaScript Python C++ C PHP
⌨️ Practice Inputs (लाइव इनपुट भरें) (खाली होने पर RED, भरने पर GREEN underline)
💻 Code Editor (Monaco VS Code Engine)
👀 Live Preview
पता संपर्क करें

+91 7877547686

ई-मेल

onlinecbtportal@gmail.com

हेल्पलाइन नंबर

+91 7877547686


डाउनलोड करने के लिए क्लिक करें
Get it on Google Play

ऐप डाउनलोड करने
के लिए Google Play पर
उपलब्ध है

WhatsApp Chat