Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.