Class Tfoot


@Bean(typeName="tfoot") public class Tfoot extends HtmlElementContainer
DTO for an HTML <tfoot> element.

The tfoot element represents a group of rows that consist of the column summaries (footers) for the parent table element. It is used to group footer rows of a table, separating them from the header (thead) and body (tbody) sections. The tfoot element can contain multiple tr elements and is typically used to display summary information, totals, or other footer content.

Examples:

import static org.apache.juneau.bean.html5.HtmlBuilder.*; // Simple table footer with totals Tfoot simple = tfoot( tr( td("Total"), td("$1,000"), td("$2,000") ) ); // Table footer with styling Tfoot styled = tfoot( tr( td("Grand Total"), td("$3,000") ) )._class("table-footer"); // Table footer with multiple rows Tfoot multiple = tfoot( tr( td("Subtotal"), td("$500") ), tr( .children( new Td().children("Tax"), new Td().children("$50") ), new Tr() .children( new Td().children("Total"), new Td().children("$550") ) ); // Table footer with summary information Tfoot summary = new Tfoot() .children( new Tr() .children( new Td().colspan(3).children("Summary: 10 items, 3 categories") ) );

See Also: