Re: TFOOT element
Chris <[email protected]> Tue, 21 Mar 2006 02:33:08 -0500
| Newsgroups | gmane.comp.web.dom.wdf |
|---|---|
| Message-ID | <[email protected]> |
This is a funny detail of how DOMs are specified - HTML and XHTML are specified by a DTD, and DTDs are incapable of specifying order of elements. The classic example of this limitation is DL, DT, DD. A DL is supposed to contain DT and DD elements, but they're really supposed to be DT (term) followed by DD (definition), repeat. The DTD can only say "There should be DT and DD elements in here, in any order, in any quantity." So, validating would unfortunately not tell you anything new if order is your question. The closest technical definition you could find would be the rules in the browsers themselves. You could potentially download the W3C's reference browser as a more thorough check. Jim Auldridge wrote: > I guess the primary questions is, does it validate? If so, I don't > see an issue. If not, you could (key word) throw a browser's > rendering off. If it doesn't validate, but works for you, I guess > it's really your choice as to whether you can live with the oddity. > > On 3/20/06, Seb Frost <[email protected]> wrote: > >> "A TABLE may have one TFOOT, which must follow the optional THEAD and >> precede the required TBODY." >> >> I often find it much more convenient to put the TFOOT after >> the TBODY, rather than before it. >> >> Is this considered harmful? All browsers I test in seem fine with it. >> Unsubscribe [email protected] List info http://www.quirksmode.org/dom/list.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wdf-dom/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/