W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1996

Re: Simple(?) comments question...

From: Chris Ridd <C.Ridd@imc.exec.nhs.uk>
Date: Wed, 18 Sep 1996 10:25:42 +0100
Message-Id: <323FC016.7911@imc.exec.nhs.uk>
To: Arnoud Galactus Engelfriet <galactus@htmlhelp.com>
Cc: www-talk@w3.org
Arnoud Galactus Engelfriet wrote:
> Just had a discussion with someone who wanted to know if a "-" can be
> used as the last character in a comment. I would say yes, since a
> comment is terminated by TWO "-" characters. However, is the following
> comment valid?
> 
> <!-- Hello--->

No, the first two "-"s form the end-comment delimiter; the trailing "->"
is text outside the comment, which is probably not what was wanted...

Chris
Received on Wednesday, 18 September 1996 05:26:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:19 GMT