As with all languages, HTML code can be commented.
The comment starts with <!--
and ends with -->
. It can
straddling several lines, it is the equivalent of the /* */
in C language.
Of course, it is not interpreted by the browser.
In the example below, we can see that the first line is not interpreted by the browser :
<!-- Unordored list of special characters-->
<ul>
<li>& AMPERSAND</li>
<li>< LESS THAN</li>
<li>> GREATE THAN</li>
<li>ê CIRCUMFLEX</li>
<li>é ACUTE ACCENT</li>
<li>è E GRAVE ACCENT</li>
<li>à A GRAVE ACCENT</li>
</ul>
The previous code displays the next page in which the text unordered list of characters is not displayed: