How to Define a Table Footer in HTML

By eHow Internet Editor

Rate: (5 Ratings)

HTML tables can include headers and footers in addition to their body. The advantage of using headers and footers is that the browser can repeat them on each page when the table is large. Footers are a convenient way to add information such as totals to the bottom of a table.

Instructions

Difficulty: Moderately Easy

Things You’ll Need:

  • Text editor

Define a Table Footer in HTML

Step1
Find or create the table ( element) to which you want to add a footer.
Step2
Insert the skeleton for the footer by creating an opening
and closing tag somewhere between the initial
and the beginning of the table body.
Step3
Format the table footer as desired by adding STYLE, CLASS or other attributes such as ALIGN.
Step4
Create individual cells in the footer row by adding
elements between the opening and closing tags.

Tips & Warnings

  • Note that certain browsers, especially older ones, may not support table footers.
  • The table footer must come before the body, so that the browser can render it on the first page before reading in the entire body, if necessary.

Post a Comment

POST A COMMENT

Request a New How-To Article

Looking for more How To information? Chances are there’s an eHow member who knows how to do what you’re looking to do. Submit an article request now!

eHow Article: How to Define a Table Footer in HTML

eHow Internet Editor

eHow Internet Editor

Category: Internet

Articles: See my other articles

Related Ads

Internet

Veesites
Meet Virginia DeBolt eHow’s Internet Expert.
...