DOs and DONTs

Sr.No.
Topics
1

Avoid Overlapping Tags

2
Embed Only Anchors and Character Tags
3
Finishing Touches
4
Commenting Your Files

Commenting Your Files

You might want to include comments in your HTML files. Comments in HTML are like comments in a computer program--the text you enter is not used by the browser in any formatting and is not directly viewable by the reader just as computer program comments are not used and are not viewable. The comments are accessible if a reader views the source file, however.

Comments such as the name of the person updating a file, the software and version used in creating a file, or the date that a minor edit was made are the norm.

To include a comment, enter:

    <!-- your comments here -->
You must include the exclamation mark and the hyphens as shown.