What is the meaning of HTML <tfoot> tag in english?

( 5 ) 1 Rating
 1 views  .  0 comments  .   0 up votes .    0 down votes . shares 0 Download Solution PDF tuteeHUB earn credit +10 pts

Answer: HTML <tfoot> tag

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, and related attributes and browser compatibility.

Tip

More advanced tables MAY also include the <caption>, <COL>, <colgroup>, <tbody>, or <thead> elements.

Tip

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">
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tbody>
<tr class="tcw">
<td>March</td>
<td>$200</td>
</tr>
<tr class="tcw">
<td>April</td>
<td>$300</td>
</tr>
<tr class="tcw">
<td>May</td>
<td>$250</td>
</tr>
</tbody>
<tfoot>
<tr class="tcw">
<td>Total</td>
<td>$750</td>
</tr>
</tfoot>
</table>Example result
MonthSavings
March$200
April$300
May$250
Total$750

We have added a few of our own CLASSES to the table using CSS; this action allows us to improve its APPEARANCE.

Deprecated attributes

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.

AttributeDescription
alignDesignates the alignment of content inside an element.
CHARAligns the content in a <tfoot> element to a specific character.
charoffSets the number of characters to offset the content from the character designated by the char attribute.
valignAlights the content in a <tfoot> element vertically.
Compatibility
EdgeInternet ExplorerFirefoxSafariOperaChrome
All versionsAll versionsAll versionsAll versionAll versionsAll versions

tuteehub_quiz
Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.






Report
Write Your Comments or Explanations to Help Others


Comments(0)



Tuteehub Dictionary Web Story
HTML help in Computer Definitions
Tuteehub Dictionary Web Story
T - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
Microsoft Windows Help in Computer Definitions
Tuteehub Dictionary Web Story
N - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
O - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
P - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
Q - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
R - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
S - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
Y - Definitions in Computer Definitions
Tuteehub Dictionary Web Story
X - Definitions in Computer Definitions


Ever curious about what any word really means? Dictionary has got them all listed out for you to explore. Simply,Choose a subject/topic and get started on a self-paced learning journey in a world of word meanings and translations.

open app imageOPEN APP