Advance XHTML Programming Question:

Download Job Interview Questions and Answers PDF

How To Enter Comments into XHTML Documents?

XHTML Interview Question
XHTML Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What Is an XHTML Element?How To Write the Opening Tag of an XHTML Element?