Re: Correct comment placement

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