• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. CSS Basics > Adding Comments to CSS

Adding Comments to CSS

Like any other part of an HTML document, style sheets can have comments. A comment does not effect code; comments only add notes or give guidance to anyone viewing your code. You can include comments in the head of an HTML document or in an external CSS file, as shown in Code 2.22.

Code 2.22. You can use comments to add useful notes to a page without interfering with the code.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint