Comments in HTML

Submitted by:Jhon Brain

Date added:29 July, 2012

Category:HTML

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

Code Snippet:

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

Comments