Comment Tag Description:
The <!-- --> Comment tag is used to comment XHTML code - to add information to the page that is ignored by the browser.
Comment Tag Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0
Comment Tag Attributes:
None
Comment Tag End Tag:
<!-- --> Both tags REQUIRED
Comment Tag Contents:
Any HTML tag or element is valid within the comment tags
Comment Tag Valid Context:
The comment tags are valid within the following tags:
all HTML tags
Comment Tag Usage:
- stand alone comment
<!-- this text will be ignored by the browser -->
- comment around tags
<ul> <li>apples</li> <!-- <li>peaches</li> --> <li>oranges</li> </ul>
Comment Tag Special Notes:
- It is not permitted to include multiple hyphens "---" in a comment.
- Comments are best used to provide information about the page, especially when you are designing complex HTML documents.
- While it is legal to comment HTML tags, be aware that some older browsers do not handle this functionality correctly.

