Wednesday, September 21, 2011

11 - Html Comments


  Comments 

The comment tag is used to insert a comment in the source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date.

This is syntax is used to comment the single line.
Syntax: <!-- -->

<!--This is a comment. Comments are not displayed in the browser-->

<p>This is a paragraph.</p>


This is syntax is used to comment multiple lines.
Syntax: /* */ 

/* p{
              color:#0CF;
              font-size:20px;
             }    */    



powered by multimediagyan ©
 

No comments:

Post a Comment