CSS comments
Comments are declared within stylesheet definitions so that code would be easier to understand and navigate. Comments in CSS are ignored by web browsers.
This lesson focuses on:
- Including comments in stylesheet definitions
Including comments in stylesheet definitions
Comments begin with /* and end with */
Example:
/* this is a comment */
p{
color: green; /* the color of the text in the paragraph */
font-family: Courier;
margin-top: 0;
margin-left: 0; /* the left margin of the paragraph */
}
/* this is another comment */




