- From: Walter Ian Kaye <walter@natural-innovations.com>
- Date: Mon, 28 Oct 1996 18:29:08 -0800
- To: www-html@w3.org
At 1:54a -0500 10/29/96, Murray Altheim wrote:
>Walter Ian Kaye <walter@natural-innovations.com> writes:
>>At 7:38p +0100 10/27/96, Arnoud "Galactus" Engelfriet wrote:
>>>> There's just one more for now. Are comments allowed inside HTML tags
>>>>or only
>>>> inside SGML declarations. That is, is <A HREF = -- parse me :)--
>>>>"file.html">
>>>> legal?
>>>
>>>It's not, according to the Webtechs validator. And comments belong
>>>in SGML declarations, not in tags, so it's logical that it does
>>>not validate.
>>
>>Of course, one could do something like
>><A HREF="file.html" MYCOMMENT="parse me :)" ALT="Unknown att/val ignored">
>>if one wished...
>
>Yes, one could, but one's document would not be valid. While HTML
>application conventions state that unknown elements and attributes are to
>be ignored by UAs, that doesn't mean that from a parsing/validation
>standpoint it's legal. If it's not in the DTD it's going to show up as an
>error.
So PageMill's "NATURALSIZEFLAG" will cause every page it generates to be
invalid? Ah well, their code is invalid anyway -- see my next message...
>Why not simply put the comment before the tag?
Well, *I* would -- I was only replying, not recommending. :)
__________________________________________________________________________
Walter Ian Kaye <boo@best.com> Programmer - Excel, AppleScript,
Mountain View, CA ProTERM, FoxPro, HTML
http://www.natural-innovations.com/ Musician - Guitarist, Songwriter
Received on Monday, 28 October 1996 21:52:26 UTC