How to add comments in HTML?


            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 


<!—HTML Comment Syntax-- >

Example of Single Line Comment:

<!—Heading of the website -- >
<!—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  


  1. Nice post. Speaking about technologies these days. I know that virtual data room pricing is a good substitute for old-fashioned way of storing the information.

  2. There is noticeably big money to comprehend this. I assume you’ve made specific nice points in features also. los angeles web agency

  3. paraphrase) ‘never sacrificed construction regarding feelings. ’ In any case, however some folks accuse your pet to be strictly attractive, Mozart in web designer los angeles

  4. Hello there! Good post! Please inform us when I will see a follow up! web design company


Post a comment