How to Add Comments in CSS

CSS
f t g+ in

You may need to add comments in CSS while styling your web pages and we will demonstrate how to do that in this tutorial.

Thumbnail Blaster - Video Thumbnail Creation Software

You can add CSS comments using /* as the beginning and */ as the end of the comment like the following:

/* This is a comment... */

You can also have comments in multiple lines like the following:

/* This comment starts in the first line
and continues in the second line */

Comments are useful to put notes for yourself or for other coders for future reference.

Was this post helpful?

Please consider sharing it, and supporting us with a small tip. Thank you :)

f t g+ in