(TBODY) tags. The row defined in a table footer with (TFOOT) are also replicated like
THEAD tag in multiple pages in case of large tables. the (TFOOT) tag also has the same
attributes
as that of (THEAD) tag.
|
(head)(title)Use of table footer(/title)(/head) (thead bgcolor="lightgreen") (tr)(td)first cell(/td)(td)second cell(/td)(/tr) (/thead) (tr)(td)first cell (/td)(/tr) (tfoot bgcolor="pink") (tr)(td)footer(/td)(td)footer(/td)(/tr) (tfoot)(/table) (/body)(/html) |
The TBODY tag defines a table's body. It allows you to group a block of table rows in an
HTML table. If you use the TBODY tag, it must be used as a child of a TABLE element
its tags. The TBODY
parent of TR and TO tags.
tag must appear
are TBODY elements.
The TBODYtag also has a similar attribute as THEAD and TFOOT tags
(HTML) (HEAD) (TITLE) Using Thead, Tbody, and Tfoot (TITLE) (/HEAD) (BODY) (TABLE) (THEAD Bgcolor="orange") (TR) (TH) Books (/TH) (TH) Price (/TH) (/TR) (/THEAD) (TBODY Becolor-"lightgreen") (TD) DoThe Guide IDo (/TD) (TD) $100 (/TD) (/TR) (TR) (TD) Midnight's Childrens (/TD) $150 (/TD) (/TR) (/TBODY) (TFOOT Bycolor= "lightpink") (TR) (TD) total (/TD) (TD)$250(/TD)(/TR) (/TFOOT) (/TABLE) (/BODY) (/HTMl) |
it is important to nobe that the THEADS, TFoot,and
different borders. All these three tags are uneful for large tab
on while fixing the posit
to thride a table into different sectioni defined by
to scroll through the table