- From: Jimmy Cerra <jimbofc@yahoo.com>
- Date: Sun, 28 Apr 2002 15:05:56 -0400
- To: "'Bjoern Hoehrmann'" <derhoermi@gmx.net>
- Cc: <www-html@w3.org>
Ah, thank you! I did some more research; the correct example is below (right?): ] <!--comment 1-- --comment 2-- --comment 3-- > Here are the rules (as I understand them): 1. A comment block always starts with '<!'. 2. Individual comment begins and end with '--'. 3. There must not be any white space between the first comment and '<!' ***Hence, that's why the beginning is always '<!--'.*** 4. The end of the comment block is denoted by a '>' after the last comment. *** Unlike the block's beginning, the end can be separated by white space.*** I hope I haven't spread any more misinformation... --- Jimmy Cerra P.S. Should this be in news:comp.infosystems.www.authoring.html or an SGML/XML group??? --- -----Original Message----- From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net] Sent: Sunday, April 28, 2002 10:43 AM To: jimbofc@yahoo.com Cc: www-html@w3.org Subject: Re: Double hyphens ('--') in comments invalid * Jimmy Cerra wrote: >P.S. I think I read somewhere that "--" separates comments in SGML, so the >following is three comments: > ><!-- comment 1 -- comment 2 -- comment 3 --> No, " comment 2 " is character data, not a comment.
Received on Sunday, 28 April 2002 15:05:59 UTC