XHTML thead, tfoot and tbody importance -
does xhtml have 'opinion' regarding use of <thead>, <tfoot> , <tbody>?
is there case should used?
thank you.
the thead, tbody, , tfoot elements in html used group table rows logical sections based on content. there 2 main reasons you'd want this:
- to allow body scrolled independently of header and/or
footer- to make easier apply different style rules different sections of table.
as stated here what benefit of <thead>
if using tables make layout don't use these. if showing tabular data use it.
and if don't have put in tfoot don't add this.
you find answers here what benefit of <thead>
Comments
Post a Comment