4 ms·
Back in the days when we used to nest tables 70 deep for layouts I don’t recall anyone using tbody - was it added later?
by aidos 5y ago
Back in the days when we used to nest tables 70 deep for layouts I don’t recall anyone using tbody - was it added later?
- merb 5y agotbody is old, but was not widely used before html5 or modern spa's that required them.
- chrismorgan 5y agothead/tfoot/tbody were introduced in HTML 4, with tbody mandatory (that is, `table > tr` was now invalid), but implied (that is, its start and end tags were both optional, so that <table><tr>…</tr></table> would be parsed the same as <table><tbody><tr>…</tr></tbody></table>). Source: https://www.w3.org/TR/html4/struct/tables.html#h-11.2 https://www.w3.org/TR/html4/struct/tables.html#h-11.2: <!ELEMENT TABLE - - (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)> <!ELEMENT TBODY O O (TR)+ -- table body -->