How to add CSS Comments?

Comments are used to explain your code and they are ignored by browsers.

A CSS comment begins with "/*", and ends with "*/", like this:

 

/*This is a comment*/

p{

   color:red;

   text-align:center;

}

The following code uses CSS comments in a html document.

 

 

 

     

         

     

     

        Visit the website