Next message: Thanasis Kinias: "Re: Non-SGML Char Refs"
Date: Sat, 9 Jun 2001 00:43:13 +0100 (BST)
From: Nick Kew <nick@webthing.com>
To: "Peter K. Sheerin" <pete@petesguide.com>
cc: www-validator@w3.org
Message-ID: <Pine.BSF.4.21.0106090040190.639-100000@fenris.webthing.com>
Subject: Re: Can src of an iframe be just HTML fragments?
On Fri, 8 Jun 2001, Peter K. Sheerin wrote:
> I'm trying to answer a question the validator can't tell me. I've got some <iframe> tags in a document that validates. The validator never sees the source referenced in these tags, and thus doesn't try to validate them.
>
> Shouldn't it, though? Because:
No, it's a separate document, not part of your HTML page.
> The browsers do see this, because they have to render it. So do I need to make sure that any file referenced by an <iframe> is complete HTML that validates, with <html>, <head>, and <body>?
You should use a spidering tool to validate. The WDG validator will give
you a one-off check, or the Site Valet will monitor it on a regular basis
and report if and when errors creep in.
--
Nick Kew