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

Re: <NOFRAMES> in HTML 4.01 Strict

From: Roger W. Winget <wingetr@cs.byuh.edu>
Date: Tue, 21 Dec 1999 13:36:46 -1000
Message-ID: <38600F0D.46E3F334@acm.org>
To: Christopher Atkinson <cwa@pipeline.com>
CC: www-validator@w3.org


Christopher Atkinson wrote:

> I am having trouble validating a page containing the <NOFRAMES> element
> within the <BODY> against the HTML 4.01 Strict DTD.

If I understand HTML properly, a document should have a <BODY> tag
OR a <FRAMESET></FRAMESET><NOFRAMES></NOFRAMES> set.
<NOFRAMES> should never appear in a document that doesn't use frames.

>
>
> The validator gives me an error stating that <NOFRAMES> is an undefined
> element.
>
> I checked the current proposed recommendation, which states that "[t]he
> NOFRAMES element can be used with all DTDs defined for HTML 4.01."
> (http://www.w3.org/TR/html40/present/frames.html#edef-NOFRAMES) I then ran a
> quick search of the Strict DTD (http://www.w3.org/TR/html40/sgml/dtd.html),
> but found no definition for the NOFRAMES element, although a search of the
> Loose DTD (http://www.w3.org/TR/html40/sgml/loosedtd.html) yielded one.
>
> I then took precisely the same page which had been getting kicked back with
> errors, substituted the "Transitional" DOCTYPE declaration for the prior
> "Strict" DOCTYPE declaration. On submission of the page with the altered
> DOCTYPE, the validator informed me the page was valid.
>
> If the NOFRAMES element is included in the Strict DTD, as the text of the
> Proposed Recommendation states, and if my page is valid under the
> Transitional DTD, why won't it validate to the Strict DTD?
>
> I ran a search on the www-validator mailing list for NOFRAMES to see if this
> problem had arisen before, but found nothing.
>
> Thanks in advance for any help at all.
>
> Regards,
>
> Chris Atkinson
Received on Tuesday, 21 December 1999 18:38:10 GMT

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