W3C home > Mailing lists > Public > www-style@w3.org > December 2000

Re: CSS comment syntax

From: Cristiano Guglielmetti <guglielmetti@tin.it>
Date: Sat, 2 Dec 2000 20:13:03 +0100
Message-ID: <001b01c05c93$e71c18a0$0201a8c0@ghost>
To: <www-style@w3.org>
1)
/* text */ - is a comment, where "text" is the comment

2)
/** text*/ - is a comment, where "* text" is the comment

3)
\/*text*/ - ambiguous, the comment start from the slash (where the comment
is "text"), the former backslash will be ignored

4)
/* \*/ */ - ambiguous, the comment (where the comment is "\") will end at
the first asterisk-slash, the second one will be ignored


Cristiano Guglielmetti
MCP & Founding member of the Italian User Group for SQL Server
Website: http://space.tin.it/computer/crguglie/
Wapsite: http://www.uni.tim.it/web/guglielmetti/
UGISS Website: http://www.ugiss.org/


----- Original Message -----
From: "Bjoern Hoehrmann" <derhoermi@gmx.net>
To: <www-style@w3.org>
Sent: Saturday, December 02, 2000 6:45 PM
Subject: CSS comment syntax


> Hi,
>
> Which of these lines are comments and what is their content?
>
> /**/
> /** */
> \/* */
> /* \*/ */
>
> I'd say 1, 2 and 4 are comments, with the content '', '* ' and ' \*/ ',
> correct?
>
> regards,
> --
> Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
> am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
> 25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e
>   "Everything we see or seem is but a dream within a dream" - E.A. Poe
>
>
Received on Saturday, 2 December 2000 14:13:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT