Re: STYLE & SCRIPT

Walter Ian Kaye (walter@natural-innovations.com)
Mon, 28 Oct 1996 18:29:08 -0800


Message-Id: <v03007808ae9b1b7e7f78@[205.149.180.135]>
In-Reply-To: <v02140b0bae9b57f99a8c@[208.203.149.85]>
Date: Mon, 28 Oct 1996 18:29:08 -0800
To: www-html@w3.org
From: Walter Ian Kaye <walter@natural-innovations.com>
Subject: Re: STYLE & SCRIPT

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