W3C home > Mailing lists > Public > www-validator@w3.org > May 2001

Re: "target=" in Strict DTD

From: Brian Gilkison <gilkison@one.net>
Date: Wed, 30 May 2001 10:45:11 -0400 (EDT)
To: W3C Validator <www-validator@w3.org>
Message-ID: <Pine.LNX.4.21.0105301042540.16425-100000@shell.one.net>
On Wed, 30 May 2001, Glyn Williams wrote:
> Problem is, the HTML validator tells me that "target=" is not allowed with
> strict DTD, only with frameset. Just changing the doctype statement on its
> own will not work, as it then complains that I should have a "frameset"
> instead of a "body". Since I do not really wish to rewrite all my html in
> frames form do you have any suggestions for a way round this, that would
> still validate correctly?

Use the Transitional DTD instead... Your strict DTD documents will still
validate if their DTD is changed to Transitional, and you gain the
ability to use the 'target' attribute...

Received on Wednesday, 30 May 2001 10:45:57 UTC

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