Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q5410 How do I include comments in CSS?

You are here: irt.org | FAQ | CSS | Q5410 [ previous next ]

As with any other language, you probably want to include comments, to make things easier, not only for yourself, but also for your users.

In CSS comments begin with "/*" and end with "*/".

Here's an example:

<STYLE>
/* As big as it gets */
P.big {font-size: 72px}
</STYLE>

CSS also allows the SGML comment delimiters ("<!--" and "-->) in certain places, but they do not delimit CSS comments.

©2018 Martin Webb