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

Time complexity, Take a look at the code and try to understand the logic, p...

Take a look at the code and try to understand the logic, particularly, the way scrambled words are disambiguated, i.e.., whether they are matched successfully against a correct wor

Define bus, Define bus A group of lines that serves as a connecting pat...

Define bus A group of lines that serves as a connecting path for various devices is known as a bus.

What is cache coherency, Cache coherence refers to the integrity of data st...

Cache coherence refers to the integrity of data stored in local caches of a shared resource. Cache coherence is a special case of memory coherence. When clients in a system, mainly

Main memory location, Poor Richard's cache as explained in Conference Topic...

Poor Richard's cache as explained in Conference Topic 2. Suppose that a 7th word (gggg gggg) from main memory location 011110 is read and stored in cache. a) Determine the cach

What are multidimensional arrays, What are Multidimensional Arrays? Mul...

What are Multidimensional Arrays? Multidimensional array: Multidimensional arrays can be defined as "arrays of arrays". For example, a bidimensional array can be fictional as a

Difference between external and global variables, Global variables are acce...

Global variables are accessible only to the batch program while external variables can be referenced from any batch program residing in the similar system library.

Determine about selective set- logic micro operations, Selective set Th...

Selective set The selective-set operation sets to 1 bits in register A where there can corresponding 1's  in  register  B.  It  does  not  affect  bit  positions  which  have

Explain LRU page replacement algorithm, Explain LRU Page replacement algori...

Explain LRU Page replacement algorithm. LRU policy: It expands to least recently use. This policy proposes that we remove a page that last usage is farthest from present time

What are two methods of modifying sap standard tables, What are two methods...

What are two methods of modifying SAP standard tables? Append Structures and Customizing Includes.

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