Advance XHTML Programming Question: Download XHTML PDF

How To Enter Comments into XHTML Documents?

Tweet Share WhatsApp

Answer:

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 -->...

Download XHTML PDF Read All 26 XHTML Questions
Previous QuestionNext Question
What Is an XHTML Element?How To Write the Opening Tag of an XHTML Element?