W3C home > Mailing lists > Public > www-validator@w3.org > July 1999

Re: Implied end of HEAD element

From: eva <eva@algonet.se>
Date: Fri, 30 Apr 1999 12:48:01 -0700
Message-ID: <008401be9342$802e5fc0$b2e9a3c3@eva>
To: <www-validator@w3.org>, "Kynn Bartlett" <kynn@idyllmtn.com>
From: Kynn Bartlett <kynn@idyllmtn.com>


>My expectation was that the <BR> would signal the end of the
>HEAD element, and <BR> would pass fine, <LINK> would get flagged
>as something that doesn't belong in a BODY element, and <BODY>
>would get flagged because there's already a BODY element that
>started when the <BR> was encountered.

The beginning of the BODY element is marked either by it's start tag
<BODY> or if such is omitted by % flow or INS or DEL.  %flow is defined
as %block | %inline.

 BR is an inline element and as such can only occur in block elements or
other inline elements (which are in block elements). Therefore the
beginning of the BODY element is marked either by it's start tag <BODY>
or if such is omitted by a block element or INS or DEL.

BR, not being a block element, cannot mark the beginning of the BODY.
/e
Received on Friday, 30 July 1999 06:49:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:52 GMT