29 Jun 2016

HTML Comment Tags


You can add comments to your HTML source by using the following syntax:

<!-- Write your comments here -->

Comments are not displayed by the browser, but they can help document your HTML.

Example
<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Remember to add more information here -->

Software Program Tags:

  • HTML comments tags can also be generated by various HTML software programs.
  • For example <!--webbot bot--> tags wrapped inside HTML comments by FrontPage and Expression Web.
  • As a rule, let these tags stay, to help support the software that created them.

Share this

0 Comment to "HTML Comment Tags"

Post a Comment