Certified HTML5 Developer Learning Resources Using Header Body and Footer

Learning Resources
 

Using Header Body and Footer


Tables can be divided into three portions: a header, a body, and a foot. The head and foot are rather similar to headers and footers in a word-processed document that remain the same for every page, while the body is the main content of the table.

The three elements for separating the head, body, and foot of a table are:

  • - to create a separate table header.

  • - to indicate the main body of the table.

  • - to create a separate table footer.

A table may contain several elements to indicate different pages or groups of data. But it is notable that and tags should appear before


...more rows here containing four cells...

...more rows here containing four cells...
This is the head of the table
This is the foot of the table
Cell 1 Cell 2 Cell 3 Cell 4
Cell 1 Cell 2 Cell 3 Cell 4

This will produce following result:

This is the head of the table
This is the foot of the table
Cell 1 Cell 2 Cell 3 Cell 4
...more rows here containing four cells...
Cell 1 Cell 2 Cell 3 Cell 4
...more rows here containing four cells...

 

 For Support