Describe thead, tbody and tfoot tag, Computer Engineering

Assignment Help:

Q. Describe THEAD, TBODY and TFOOT tag?

THEAD, TBODY, TFOOT

<THEAD>, <TBODY>, and <TFOOT> form groups of rows. <THEAD> specifies that a group of rows are header rows at the top of the table. <TBODY> specifies that a group of rows are body rows. <TFOOT> specifies that a group of rows are footer rows at the bottom of the table.

The most popular use for these three tags, that are currently only recognized by MSIE 4 and up, is to put borders among groups of rows instead of between every two rows. For illustration, suppose you have a table in which you want borders around the top row, bottom row and around the entire block of rows in between. You could do that with following code. Note that in addition to <THEAD>, <TBODY> and <TFOOT> you also should use <TABLE RULES=GROUPS>. The below example illustrates the use of these tags:

<HTML>

<BODY>

<TABLE CELLPADDING=6 RULES=GROUPS FRAME=BOX>

<THEAD>

<TR> <TH>Weekday</TH> <TH>Date</TH> <TH>Manager</TH>

<TH>Qty</TH> </TR>

</THEAD>

<TBODY>

<TR> <TD>Mon</TD> <TD>09/11</TD> <TD>Komal</TD> <TD>639</TD>

</TR>

<TR> <TD>Tue</TD> <TD>09/12</TD> <TD>Lovely</TD> <TD>596</TD>

</TR>

<TR> <TD>Wed</TD> <TD>09/13</TD> <TD>Rohan</TD> <TD>1135</TD>

</TR>

<TR> <TD>Thu</TD> <TD>09/14</TD> <TD>Suresh</TD> <TD>1002</TD>

</TR>

<TR> <TD>Fri</TD> <TD>09/15</TD> <TD>Rohan</TD> <TD>908</TD>

</TR>

<TR> <TD>Sat</TD> <TD>09/16</TD> <TD>Lovely</TD> <TD>371</TD>

</TR>

<TR> <TD>Sun</TD> <TD>09/17</TD> <TD>Suresh</TD> <TD>272</TD>

</TR>

</TBODY>

<TFOOT><TR> <TH ALIGN=LEFT COLSPAN=3>Total</TH> <TH>4923</TH>

</TR></TFOOT>

</TABLE>

</HTML>

782_Describe THEAD - TBODY and TFOOT tag.png

Figure: Using the THEAD, TBODY and TFOOT Tags


Related Discussions:- Describe thead, tbody and tfoot tag

Differentiate between protection and security, Differentiate between protec...

Differentiate between protection and security. Operating system contains a collection of objects, software or hardware. All objects have a unique name and can be accessed by

Explain handle graphics in matlab, This is the MATLAB graphics system. It c...

This is the MATLAB graphics system. It contains high-level commands for two-dimensional and three-dimensional data visualization, image processing, animation, and presentation grap

What are the limitations of traditional payment instruments, What are the l...

What are the limitations of traditional payment instruments? The limitations of traditional payment system are that they take a lot of time.  These systems needs manual work to

How to update bios chip, There are two methods to update your BIOS chip: ...

There are two methods to update your BIOS chip: 1. Flash it (software method) 2. Program it with an EEPROM programmer. This is a hardware method. This is how we at BIOSMAN pr

Advantages & disadvantages of wired-and connection TTL gates, What are adva...

What are advantages and disadvantages of TTL gates design with Wired-AND connection ? Ans. Advantages and disadvantages In this IC added logic is performed with

Sun and nis law, Sun and Ni's Law The Sun and Ni's Law is a generalizat...

Sun and Ni's Law The Sun and Ni's Law is a generalization of Amdahl's Law as well as Gustafson's Law. The fundamental idea underlying the Sun and Ni's Law is to find the soluti

Salient points about addressing mode, Salient points about addressing mode ...

Salient points about addressing mode are:  This addressing mode is employed to initialise value of a variable. Benefit of this mode is that no extra memory accesses are

What are the benefits of web-based spreadsheets, What are the Benefits of W...

What are the Benefits of Web-Based Spreadsheets? The spreadsheets can be accessed from any Internet-connected computer, not just the computer originally formed the spreadsh

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd