top | item 2259146

Ask HN: Isn't it strange that TFOOT must be placed between THEAD and TBODY?

1 points| webuiarchitect | 15 years ago | reply

In an HTML <table>, the TFOOT element must be placed between THEAD And TBODY. http://htmlhelp.com/reference/html40/tables/tfoot.html. What could be the reason behind this?

3 comments

order
[+] mooism2|15 years ago|reply
So that if the tbody is set up with its own scroll bar, the initial parts of the tbody can appear between the thead and the tfoot before the tbody has finished downloading.
[+] mdaniel|15 years ago|reply
This was exactly my answer, before I realized that "webuiarchitect" posted the question 3 times. :-(
[+] jsavimbi|15 years ago|reply
Note: <tfoot> must appear before <tbody> within a table, so that a browser can render the foot before receiving all the rows of data.

^^I saw that on my first google search.