Easy Tutorial
❮ Tag Hn Tag Figcaption ❯

HTML <tfoot> valign Attribute

HTML <tfoot> Tag

Example

Vertically align the content in the <tfoot> element to the bottom:


Browser Support

All major browsers support the valign attribute.


Definition and Usage

The valign attribute specifies the vertical alignment of the content within the <tfoot> element.


Syntax

Attribute Values

Value Description
top Aligns the content at the top.
middle Aligns the content in the middle (default).
bottom Aligns the content at the bottom.
baseline Aligns to the baseline. The baseline is an imaginary line. In a line of text, most letters rest on the baseline. The baseline value sets all table data in the row to share the same baseline. This often looks similar to the bottom value. However, if the text size varies, baseline works better. See the illustration below.

Illustration of bottom vs. baseline when text size varies:

❮ Tag Hn Tag Figcaption ❯