Comments allow us to make notes inside of our HTML code. Comments are not displayed on the page. So, they are only used for the programmer as a future reference for when he looks back at the code at a later date.
Unlike most HTML elements, Comments are not enclosed in tags. They are, instead, enclosed inside a start (<!--) and an end (-->) symbol.
<!DOCTYPE html>
<html>
<head>
<title>XoaX.net's HTML: Comment Example</title>
</head>
<body>
<h1>Virtues</h1>
<!-- These can be found in 1 Corinthians 13:13 -->
<p>Theological Virtues: Faith, Hope, and Charity</p>
<!-- These can be found in Wisdom 8:7 -->
<p>Cardinal Virtues: Prudence, Justice, Fortitude, and Temperance</p>
</body>
</html>© 20072025 XoaX.net LLC. All rights reserved.