how many times can i use the tbody tag

Hello,
I was wondering as to how many times I can use the tbody tags on one page. also I would like to know that  by having the tbody on my pages will curtain areas load faster. asthey have been cached.


regards

Kenny
LVL 1
thatelvisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

selohCommented:
You can use the TBODY-tag as many times as you want, even in a table! You can use it to group rows and give them the same style.
It will always have to look like this:
  <TBODY>
  <TR>
  ...
  </TR>
  <TBODY>

But you can use use it several times within a table.
If you don't use it for style-purposes leave it out because it doesn't do anything else really. It will certainly not make your pages load faster.
0
krishnaashuCommented:
you can use N number of times this can be used as grouping of data following example can illustrate its utility



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test- Table TH/TBODY</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<TABLE CELLPADDING=6 RULES=GROUPS  FRAME=BOX border=1>




<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>Kelsey</TD>  <TD>639</TD>  </TR>
<TR> <TD>Tue</TD> <TD>09/12</TD> <TD>Lindsey</TD> <TD>596</TD>  </TR>
<TR> <TD>Wed</TD> <TD>09/13</TD> <TD>Randy</TD>   <TD>1135</TD> </TR>
<TR> <TD>Thu</TD> <TD>09/14</TD> <TD>Susan</TD>   <TD>1002</TD> </TR>
<TR> <TD>Fri</TD> <TD>09/15</TD> <TD>Randy</TD>   <TD>908</TD>  </TR>
<TR> <TD>Sat</TD> <TD>09/16</TD> <TD>Lindsey</TD> <TD>371</TD>  </TR>
<TR> <TD>Sun</TD> <TD>09/17</TD> <TD>Susan</TD>   <TD>272</TD>  </TR>
</TBODY>

-------
<THEAD>
<TR> <TH>Weekday</TH> <TH>Date</TH> <TH>Manager</TH> <TH>Qty</TH> </TR>
</THEAD>
<TBODY>
<TR> <TD>Fri</TD> <TD>09/15</TD> <TD>Randy</TD>   <TD>908</TD>  </TR>
<TR> <TD>Sat</TD> <TD>09/16</TD> <TD>Lindsey</TD> <TD>250</TD>  </TR>
<TR> <TD>Sun</TD> <TD>09/17</TD> <TD>Susan</TD>   <TD>192</TD>  </TR>
</TBODY>
<TFOOT>
<TR> <TH ALIGN=LEFT COLSPAN=3>Grand Total</TH> <TH>6273</TH> </TR>
</TFOOT>
<TFOOT>
<TR> <TH ALIGN=LEFT COLSPAN=3>Total for first group</TH> <TH>4923</TH> </TR>
</TFOOT>
<TFOOT>
<TR> <TH ALIGN=LEFT COLSPAN=3>Total for second group</TH> <TH>1350</TH> </TR>
</TFOOT>


</TABLE>

</body>
</html>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thatelvisAuthor Commented:
thanks for the replys, if it does nothing lol I was wondering as to its value, I was told that by having it say in the headder of a page, and printing that page will produce 2 a4 pages, that both the pages will show the headder.

not too sure is that true though

regards

Kenny
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

krishnaashuCommented:
no it will not print the header at two different page at the time of printing


regards

Ashu Krishna
0
thatelvisAuthor Commented:
what purpose does it have then.


Just out of interest.

regards

Kenny
0
krishnaashuCommented:
no you can group data of same type just copy my example and save it in some xyz.html and check you will be able to understand the purpose. even you change the place of thead/tfoot/tbody.
just do a little bit R & D you will get the answer

regards

Ashu Krishna
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.