<comment> (Comment Information)
This nonstandard element treats enclosed text as nondisplaying comments while processing enclosed HTML. This element should not be used.
Syntax Defined by Internet Explorer
<comment
data="URL"</comment>
id="unique alphanumeric identifier"
lang="language code"
title="advisory text">
Events Defined by Internet Explorer
onpropertychange, onreadystatechange
Element Specific Attributes
- data
- References a URL that contains the comment information.
Example
<comment>This is not the proper way to form
comments.</comment>
Compatibility
No standards
Internet Explorer 4, 5, 5.5, 6
Notes
It is better to use the <!--. . .--> element, an alternate comment element that does not process enclosed HTML in all specification-conforming browsers.
Because the <comment> element is not supported by all browsers, commented text done in this fashion will appear in Netscape browsers. Although Internet Explorer still supports this element, IE documentation recommends use of the <!--. . .--> element.