wrote:
[snip]
> It is interesting though that the spec itself
> indirectly indicates that such markup is valid.
> http://www.w3.org/TR/REC-html40/inte....html#h-18.2.4
> (since <title> MUST be in a <head> section)
It does not. As Rob said, both the start and end tags of the HEAD,
BODY, and HTML elements are optional. That doesn't mean to say that
the elements are optional, but that they don't need to be explicitly
included.
<TITLE>Test Document</TITLE>
<P><B>Hello World!</B>
When the TITLE element, a HEAD content element, is encountered a user
agent should infer the presence of HTML and HEAD. When the P element,
a BODY content elements, is encountered a user agent should infer the
closure of the HEAD element, and the start of the BODY element.
I thought this process was described in the specification, but I can't
seem to find it at the moment.
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.