HTML Tutorial
4. Commenting
[this page | pdf | back links]
It can be helpful to
include comments in HTML
documents that are not displayed but help readers of the underlying markup text
you to understand what the HTML is trying to do. Comments in HTML take the form
<!-- comment --> and ignore line breaks within
the opening and closing tags of the comment element.
For example, markup as follows:
<!-- material explaining how
commenting in HTML
works-->
creates the following output (i.e. nothing):
NAVIGATION LINKS
Contents | Prev | Next | HTML