Home | Computer Science

CSS Comments
Comments are used to explain the code, and may help when you edit the source code at a later date.


4. Example to print comment. Here is what the "styles.css" file looks like: "styles.css" /* This is a single-line comment */ p { color: red; } "External.html" <html> <head > <link rel="stylesheet" href="styles.css"> </head > <body> <p > <This is Way to Print A Comment></p > </body> </html>

This is way to print a comment.

Css Comments are not shown in output.