MMDT1021 Chapter 7 Notes - page 2
Adding Comments to a Style Sheet
| You should add comments to style sheets
to document your work.
Textual comments in CSS are similar to those in the C / Java / PHP programming languages: b {color:red;} /* bold text is red, really red!! */Anything between the opening comment '/*' and the closing comment '*/ is ignored by the browser. Also comments can span several lines:
|
| Code | Page |
|---|---|
| Here is an external style sheet containing some comments. | CSS
source |