Entering Comments into HTML Documents

Q

How To Enter Comments into HTML Documents?

✍: FYIcenter.com

A

If you want to enter comments into an HTML document, you can use the comment tag: "<!-- ... -->".

Here are some good examples of HTML comments:

  <!-- Start north banner -->...

  <script type="text/javascript">
    <!-- alert("Are you ok?"); -->
  </script>...

  <!-- A long ... 
    paragraph ...
    of comments -->...

 

⇒HTML Tag and Attribute Syntax

⇒⇒HTML Tutorials

2017-02-20, 908👍, 0💬