// References / CSS Comments

Posted The: 22/03/2008 - AT: 18:19

Edited The: 15/08/2008 - AT: 20:24

In CSS comments begin with "/*" and ends with "*/", in the example below i listed valid ways to write your comments.

Example

You can use comments whenever you want, they are especially useful when keeping track of what the many different portions of code dose, and when you are multiple people working on the code; below are some valid ways of writing comments in css.

    body { /* This is a Comment */
     font-size: /* This is a Comment */ 2em;
    }
    p {
      font-size: 1.5em; /* This is a Comment */
    }
/* This is
 a multi-line 
 Comment */

Note: Comments are ignored by browsers.

Stumble It!

Author: BlueBoden

Comments: [0]

  1. HTML Tutorial
  2. CSS Tutorial
  3. XHTML Tutorial
  4. RSS Tutorial
  5. PHP Tutorial
  6. htaccess Tutorial
  7. Server Tutorial
  8. SEO Tutorial

Checked At:05:23

5 Guests

0 Users

Online doing the past 15 Minutes!

PageRanking.dk - Flere hits og højere PageRank - GRATIS tilmelding!

This page was created in 0.345722198486 seconds

Welcome Guest