Thead - tbody - tfoot, PHP Web Programming

Assignment Help:

<THEAD> mentions that a group of rows are the header rows at the top of the table. <TBODY> specify that a group of rows are body rows. <TFOOT> specify that a group of rows are the footer rows at the bottom of the table.

The most popular use for these three tags, that are currently only identified by MSIE 4 and up, is to put borders among groups of rows rather than between every two rows. For instance, assume you have a table wherein you want borders around the top row, the bottom row, and around the whole block of rows in between. You could do that along the following code. Note down that in addition to <THEAD>, <TBODY>, and <TFOOT> you also should use <TABLE RULES=GROUPS>. The following instance 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>

2385_THEAD - TBODY - TFOOT.png

Figure: Using THEAD, TBODY & TFOOT Tags


Related Discussions:- Thead - tbody - tfoot

We want a talented team to make a specific mobile app, Tailor made app user...

Tailor made app user tracking tool We want a talented team to make a specific mobile app tracking tool to track all events for each of our clients inside our app. You should hav

I need a one webpage coming soon, I need a one webpage Coming Soon I wou...

I need a one webpage Coming Soon I would like one page design to so message like coming soon. a) Left Video player I provide you the code. b) Right Contact info c) Face

What are the types of code declaration, Question: (a) What are the fou...

Question: (a) What are the four types of code declaration blocks you can use to write PHP? (b) Distinguish between the include() statement and the require() statement.

Move the layout table, You can choose and move a layout table to other area...

You can choose and move a layout table to other areas in a document. However, you cannot move a layout table so that it overlaps another. After that you will move the table you

Colspan and rowspan, Now let us see how to deal with ROWSPAN (Row Span) and...

Now let us see how to deal with ROWSPAN (Row Span) and COLSPAN (Column Span). If we desire the cell containing Ajay in Figure to be extended to the next cell as well and make th

I want wp estore theme experienced developer, WP Estore Theme Experienced D...

WP Estore Theme Experienced Developer Required Keep work on wordpress estore theme website required. Should have previous proven experience with wp estore theme. Probabili

Seeking for a programmer ajax, Seeking for a programmer We look forward ...

Seeking for a programmer We look forward to build a relationship with somebody or a group of people to work with us on our e-commerce platform. Expertise needed- • JavaScr

Seeking coding partner, Seeking Coding Partner I am a web designer looki...

Seeking Coding Partner I am a web designer looking for an ongoing partner to code simple websites. The work will be fairly infrequent however paid very well. Desired Skills a

I need help in project development, I need help in Project development - Pl...

I need help in Project development - Planning, Design, Development We want a company for 3 tasks 1) brainstorming as well as improving our website plan. (Mainly our income so

How the web server interprets php, How the web server interprets PHP and in...

How the web server interprets PHP and interacts with the client? After installing and configuring PHP, web When PHP is installed, Web server looks for PHP code which is embedde

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