HTML <tfoot> tag
Updated: 11/13/2018 by Computer Hope
When writing in HTML, the <tfoot> tag is used to designate a set of rows that summarize the columns on a table. It is useful for sectioning off parts of the table to be styled with CSS. The following sections contain information about the <tfoot> tag, including an example of it in use, as well as related attributes and browser compatibility.
Using the <thead> and <tfoot> elements ensures that a header and footer appear on each page of a large table printout.
Example of <tfoot> code
<table class="mtable2 tab">
We have added a few of our own classes to the table using CSS; this action allows us to improve its appearance.
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. Every attribute that was unique to the <tfoot> tag is deprecated. While these attributes may work with the some versions of HTML, they will eventually be phased out. You should use CSS to adjust the dimensions and appearance of this element.
||Designates the alignment of content inside an element.
||Aligns the content in a <tfoot> element to a specific character.
||Sets the number of characters to offset the content from the character designated by the char attribute.
||Alights the content in a <tfoot> element vertically.
Browser, Cell, Class, Column, Compatibility, Format, Row, <table>, <tbody>, <thead>, Web design terms