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

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -

openssl - Load PKCS#8 binary key into Ruby -