W3C home > Mailing lists > Public > www-validator@w3.org > March 2002

Hyphens in comments

From: Olaf Buddenhagen <olafbuddenhagen@gmx.net>
Date: Thu, 14 Mar 2002 17:20:25 -0500 (EST)
To: www-validator@w3.org
Message-ID: <20020314231921.A14122@sky.local.org>

The HTML 4.01 standard says:

   A common error is to include a string of hyphens ("---") within a
   comment. Authors should avoid putting two or more adjacent hyphens
   inside comments.

(Section 3, "SGML and HTML)

However, the validator doesn't complain about constructs like:


in HTML mode. Now I wonder: *Is* that allowed, or is it not?...


Don't buy away your freedom -- GNU/Linux
Received on Thursday, 21 March 2002 02:19:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:32 UTC