Skip to content

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

3 pointswebuiarchitect2 comments
On HN

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?

Comments

No, because it enables the user-agent to paginate content before the entire page has even loaded.

And presumably the page author knows a priori what the header and footer for the table are going to be, so why not transmit that information to the user-agent as soon as possible?

If you examine XSL-FO, they have similar constructs for what I am guessing are similar reasons.

Hmmm... makes sense. Thanks!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.