The <!-- --> Comment tag is used to comment XHTML code - to add information to the page that is ignored by the browser.
- 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
None
<!-- --> Both tags REQUIRED
Any HTML tag or element is valid within the comment tags
The comment tags are valid within the following tags:
all HTML tags
- 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.

