Re: "target=" in Strict DTD

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...

Brian

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