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

Re: Correct comment placement

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 25 Mar 2004 20:16:39 +0200 (EET)
To: IrYoKu <thebreaker@terra.es>
Cc: "www-html@w3.org" <www-html@w3.org>
Message-ID: <Pine.GSO.4.58.0403252012060.4342@korppi.cs.tut.fi>

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.

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

It is. And IE gets this wrong in doctype sniffing, but doctype sniffing
itself is theoretically absurd and pragmatically a horrendous mess.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Thursday, 25 March 2004 13:17:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:08 UTC