Sunday, August 3, 2008

Comments in HTML Code

You can insert comments in HTML as follows: <!-- comment text -->
Comments can be nested inside elements.
<h1><!-- This is a comment -->This is an h1 tag</h1>
Comments cannot be inserted within tags.

No comments: