Sunday, October 10, 2010

HTML Comments

And well comment code, especially for complex documents to show parts of the document should be, and any comment to anyone looking at the code. And comments will help others understand the code.
HTML comment lines are marked with a special tag to the start <!-- and ending tag --> placed at the beginning and end of each line is considered a comment.

For example: Given line is a valid comment in HTML
<!--   This is comment -->

No comments:

Post a Comment