CSS Comments

The CSS comments are used to explain the code to others. It is very useful when someone used your code on their webpages. It helps them to understand the code. The comments are ignored by the browsers. The comments are start with the /* sign and ends with the */ sign. It will be single lined or multilined comment. For Example

Single line comment :
 /* single line comment */
Multi-line comment :
  /* This is muli-
     line comment */
Example :
<html>
<head>
  <style>
    /* CSS for Pelement */
    p {
      color: green;
      font-weight: bold;
      font-size: 20px;
    }
    /* The CSS definition
       for the DIV block
       contents
    */
    div {
      border: 2px solid;
      padding: 10px;
      background-color: orange;
    }
  </style>
</head>
<body>
  <p>What is Computer ?</p>
  <div>A computer is a device that can be instructed to carry out sequences of 
    arithmetic or logical operations automatically via computer programming. 
    Modern computers have the ability to follow generalized sets of operations, 
    called programs. These programs enable computers to perform an extremely 
    wide range of tasks.
  </div>
</body>
</html>
Output :

What is Computer ?
A computer is a device that can be instructed to carry out sequences of arithmetic or logical operations automatically via computer programming. Modern computers have the ability to follow generalized sets of operations, called programs. These programs enable computers to perform an extremely wide range of tasks.