Showing posts with the label Comments

How to add comments in HTML?

Comments             A sentence which describe your code identity or comments can be used for different purpose also such as documentation purpose or remainder purpose also. Types of Comments: 1. Single line comment 2. Multi line Comment 3. Conditional Comment  Syntax: <!—HTML Comment Syntax-- > Example of Single Line Comment: <!—Heading of the website -- > <H1> </H1> <!—Start body contain-- > <p> this is your body </p> <!—End of Code -- > Example of Multi line Comments: <!—Heading for website With the tagline -- > <H1> </H1> Example of Conditional Comments: <!--[if IE 6]>         Comment for IE 6   <![endif]-->