The HTML comment
1 Description
The HTML <!-- comment -->
is used to add comments to an HTML document.
Comments begin with the sequence <!--
and end with the sequence
-->
. Comments may span multiple lines. Comments are not rendered, and are
in no way visible to someone viewing an HTML document in a web browser.
In order to read comments you must look at the source code for the HTML page.
2 Examples
<!DOCTYPE html>
<html>
<head>
<title>Example Page</title>
</head>
<body>
<h1>Example HTML Page</h1>
<!-- This is a comment -->
<p>This HTML document has a comment in it.</p>
</body>
</html>
This document was last updated: