W3C home > Mailing lists > Public > www-html@w3.org > March 2004

Re: Correct comment placement

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Thu, 25 Mar 2004 10:30:09 -0800
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, IrYoKu <thebreaker@terra.es>
Cc: "www-html@w3.org" <www-html@w3.org>
Message-ID: <BC886524.38B17%tantek@cs.stanford.edu>

On 3/25/04 10:16 AM, "Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:

> 
> On Tue, 25 Mar 2003, IrYoKu wrote:
> 
>> I am wondering about the correct placements of an html comment (<!--
>> this -->).
> 
> Please note that www-html is a forum for discussing HTML development, not
> a helpdesk or even a forum for discussing practical authoring problems.

Jukka, if you're going to chastise the use of this forum, you ought to
provide an alternative, or at least a pointer to document stating the scope
of this forum, since the name alone of this forum implies any discussion of
"html" on the "www" is reasonable.

>> Especially if it is correct to place it before the doctype:
> 
> It is.

Perhaps valid, but not practical.



IrYoKu wrote:

>> I am putting the comments between the doctype ad the html tags, and I
>> would like to have know if this is correct.

That too is valid, and should work fine.


"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:

> doctype sniffing
> itself is theoretically absurd

but works quite well in practice.

> and pragmatically a horrendous mess.

where's the mess?

and do you have an alternative proposal to DOCTYPE switching that you can
demonstrate to be better?

Tantek
Received on Thursday, 25 March 2004 13:30:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 18 February 2014 13:20:08 UTC