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

<NOFRAMES> in HTML 4.01 Strict

From: Christopher Atkinson <cwa@pipeline.com>
Date: Mon, 20 Dec 1999 23:35:22 -0500 (EST)
To: <www-validator@w3.org>
I am having trouble validating a page containing the <NOFRAMES> element
within the <BODY> against the HTML 4.01 Strict DTD.

The validator gives me an error stating that <NOFRAMES> is an undefined

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.


Chris Atkinson
Received on Tuesday, 21 December 1999 07:39:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:26 UTC