Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q5410 How do I include comments in CSS?

irt.org | Knowledge Base | CSS | Q5410 [ previous next ]

Q5410 How do I include comments in CSS?

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.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.