Tbody, thead, tfoot


#1

If I am creating a simple HTML table, do I need to use tbody, thead and tfoot?

Also, can someone explain to me their purpose?

I am reading the developer guide at mozilla.org and am not seeing this being explained.


#2

Only when you have use for them, otherwise they are generated as anonymous table objects:
https://www.w3.org/TR/CSS2/tables.html#anonymous-boxes

See the w3.org table tutorials for explanation:

https://www.w3.org/WAI/tutorials/tables/

These two links contains very useful info for everybody using tables, especially the first for css tables. :slight_smile:


#3

Okay, thanks.