How To Enter Comments into XHTML documents

Q

How To Enter Comments into XHTML documents? - XHTML Tutorials - Introduction To Tag and Attribute Syntax

✍: FYIcenter.com

A

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

Here are some good examples of XHTML comments:

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

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

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

2007-05-12, 5168👍, 0💬