comment


<!--  -->

Browser
Internet Explorer Firefox Opera

The COMMENT declaration defines a comment.


<!-- This text is not displayed -->


<!-- : Comment start
--> : Comment end


Example

<!-- Main contents start -->

<p>Short paragraph.</p>
<p>Short paragraph.</p>
<p>Short paragraph.</p>

<!-- Main contents end -->
Output

Short paragraph.

Short paragraph.

Short paragraph.


<ul>
<li>List A</li>
<li>List A</li>
<li>List A</li>
</ul>

<!-- Hidden list
<ul>
<li>List B</li>
<li>List B</li>
<li>List B</li>
</ul>
-->
Output
  • List A
  • List A
  • List A