Pages

1/14/2019

HTML Comments

  • Comment tags are used to insert comments in the HTML source code.



HTML Comment Tags

You can add comments to your HTML source by using the following syntax:
<!-- Write your comments here -->
Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag.
Note: Comments are not displayed by the browser, but they can help document your HTML source code.
With comments you can place notifications and reminders in your HTML:

Example

<!-- This is a comment -->

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

<!-- Remember to add more information here -->
Try it Yourself »
Comments are also great for debugging HTML, because you can comment out HTML lines of code, one at a time, to search for errors:

Example

<!-- Do not display this at the moment
<img border="0" src="pic_trulli.jpg" alt="Trulli">
-->
zealmatblog

7 comments:

  1. Easy "water hack" burns 2 lbs OVERNIGHT

    Well over 160000 women and men are losing weight with a easy and secret "liquids hack" to lose 1-2 lbs every night while they sleep.

    It's very simple and works every time.

    Just follow these easy step:

    1) Go grab a clear glass and fill it with water half glass

    2) Then do this crazy hack

    and you'll become 1-2 lbs thinner the next day!

    ReplyDelete
  2. I just now discovered your blog post and now I’m remember to start with followers. website designer nyc

    ReplyDelete
  3. Thanks for this grand post, I am glad I observed this website on yahoo. nyc web designer

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. hey good site i will definaely come back and see again. branding firms san francisco

    ReplyDelete
  6. i would have to make more christmas cards becuase next month is december already- design agency san francisco

    ReplyDelete
  7. I’d need to talk with you here. Which is not some thing I usually do! I spend time reading an article that will get people to believe. Also, many thanks for permitting me to comment! web design company los angeles

    ReplyDelete

DISCLAIMER: Opinions expressed in the comments are those of the comment writers alone and does not in any way reflect the views of Infotechblog.