The Comment Tag

The comment tag is different from the other tags for the following reasons. It can be placed anywhere in the HTML file; inside the head section, inside the body section, or in between the head and the body. It does not end with a /. It starts with an <!-- and ends with an -->.

It is always a good idea to put comments into your source code. In this simple example the comments state who is the author, the creation date of the document and the date of most recent update.

<TITLE>My Home Page</TITLE>

<!-- Written by me -->
<!-- Created:  yesterday -->
<!-- Last modified:  today -->


This is where the text goes. 


I understand the comment tag. What is next?


Valid HTML 3.2!