![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
"Andy Dingley" <dingbat (AT) codesmiths (DOT) com> wrote in message news:7d76434e-6774-440a-b6e2-8a05a8b67f6e (AT) f3g2000hsg (DOT) googlegroups.com... On 27 Nov, 01:43, "Joy M" <ab... (AT) ns (DOT) sympatico.ca> wrote: snippage If you use <thead>, it might be thought clearer (for human readability) to add the <tbody> too. If the thead element is used then the tbody opening tag is required. According to the specs. |
#12
| |||
| |||
|
|
I just looked that up, and you are correct. However, the W3C validator never catches the fact that my tables have <THEAD> without any <TBODY>. |
#13
| |||
| |||
|
|
Regarding <thead> not being inferred automatically: even if you use th>...</th> markup? |
#14
| |||
| |||
|
|
Tue, 27 Nov 2007 07:43:00 -0500 from David Stone no.email (AT) domain (DOT) invalid>: Regarding <thead> not being inferred automatically: even if you use th>...</th> markup? th> can be used for row heads as well as column heads, so it's perfectly valid outside of <thead>...</thead>. |
#15
| |||
| |||
|
|
On Tue, 27 Nov 2007 15:23:41 -0800, "David E. Ross" nobody (AT) nowhere (DOT) not> wrote: I just looked that up, and you are correct. However, the W3C validator never catches the fact that my tables have <THEAD> without any <TBODY>. It's not expressed as such in the DTD. So if the validator is going purely by the DTD, it won't catch it. Jukka? |
#16
| |||
| |||
|
|
The HTML 4.01 DTD says: !ELEMENT TABLE - - (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+) This means that at least one TBODY element must always be present in a TABLE element, but it follows from the definition of TBODY that it need not have start and end tags, so the _tag_ <TBODY> may be omitted. |
#17
| ||||
| ||||
|
|
Actually, if HTML was a structure-controlled conforming SGML application, |
|
it couldn't forbid implicit TBODY start tags after THEAD elements because conforming ISO/IEC-8879 structure-controlled applications operate only on the ESIS. |
|
Similarly, a structure-controlled conforming SGML application cannot impose constraints on the format of comments outside of the constraints imposed by ISO/IEC 8879. |
|
But HTML is not really a SGML application. |
#18
| |||
| |||
|
|
Besides, there is no "ISO/IEC-8879". The SGML standard is ISO 8879, with no IEC involvement. I have no idea why the phrase "ISO/IEC 8879" appears even in some ISO documents. |
#19
| |||
| |||
|
|
Besides, there is no "ISO/IEC-8879". The SGML standard is ISO 8879, with no IEC involvement. I have no idea why the phrase "ISO/IEC 8879" appears even in some ISO documents. Then you could try reading the Foreword to ISO/IEC 16262, |
|
You could also do View Source on that *.htm page and inform them of the errors of their ways, with particular reference to 12px. |
![]() |
| Thread Tools | |
| Display Modes | |
| |