Comments in HTML

Submitted by:James Anderson

Date added:26 January, 2011


The <!-- --> stuff is the HTML comment. It is a way to add notes into the code which will not display when the HTML is rendered by the browser. In the example above, to signify which opening div tag the closing tag was actually closing.

Tags: comment in html , html code , add comment

Code Snippet:

<div id="header">
</div> <!-- END div-header -->