eHow launches Android app: Get the best of eHow on the go.

How To

How to Define a Table Footer in HTML

Contributor
By eHow Contributing Writer
(8 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.

Difficulty: Moderately Easy
Instructions

Things You'll Need:

  • Text editor

    Define a Table Footer in HTML

  1. Step 1

    Find or create the table (

    element) to which you want to add a footer.

  2. Step 2

    Insert the skeleton for the footer by creating an opening

  3. and closing tag somewhere between the initial
    and the beginning of the table body.

  4. Step 3

    Format the table footer as desired by adding STYLE, CLASS or other attributes such as ALIGN.

  5. Step 4

    Create individual cells in the footer row by adding

  6. 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.
    Subscribe

    Post a Comment

    Post a Comment

    Related Ads

    • Have you done this? Click here to let us know.
    I Did This
    Get Free Internet Newsletters

    Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy .   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. † requires javascript

    Demand Media
    eHow_eHow Technology and Electronics
    ...