CSS Comments
CSS comments are in general written to explain your code. It is very useful for the users who read your code so that they can easily understand the code.Comments are ignored by browsers.
Comments are single or multiple lines statement and written within /*…………*/(starts with /* and ends with */).
Example:
<!DOCTYPE html> <html> <head> <style> p { color: blue; /* This is a single-line comment */ text-align: center; } /* This is a multi-line comment */ </style> </head> <body> <p>Hello I2 tutorials</p> <!-- comment line --> <p>This statement is styled with CSS.</p> </body> </html>
OUTPUT: