Question: why is tfoot above tbody?
Answer: This was done to allow the header and footer of a table to load first, before loading in a variable amount of body data, which would otherwise possibly block the loading of the table footer. In the HTML 5.1 spec, <tfoot> can only come after <tbody> .