i

Learn HTML and CSS in 10 Days

Table Head, Body and Foot

The content present inside the tables can be broken down in different groups, including a head, body, and foot. The (table head), (table body), and (table foot) elements help to organize tables structurally.

The element helps in binding the heading rows in a table to denote the head. The table head should be positioned at the table's top, before the element, and after the element.

The or element can come just after the table element. Initially the elemnt should come just after the element, but HTML5 has given elbowroom here. The element consists of the data that outlines the table’s content while the element should have the primary data inside the table.