CSS Comments


Comments are used to explain your code and may help you when you edit the source code at a later date. Comments are ignored by browsers.

A CSS comment begins with "/* " and ends with "*/" 

Like this  /* Hello World*/

Example:

p{

        background-color: #000;

        color: red;

        text-align: center; /* The text-align property specifies the horizontal alignment of text in an element.*/

       }

 

Leave a comment
No Cmomments yet