Comments In HTML

Comments in HTML

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):

Hits: 144

CATEGORIES
TAGS
Share This

COMMENTS

Wordpress (0)
Disqus ( )
%d bloggers like this: