<comment>
HTML <comment> (Comment Information) Tag
No standards support
Example
<comment>This is not the proper way to form comments!</comment>
Meaning
This nonstandard Internet Explorer element treats enclosed text as comments. This element should not be used.
Notes:
- Only supported by Internet Explorer 4, 5, 5.5, 6.
- It is better to use standard comment rather than this tag.
- Because the comment element is not supported by all browsers, commented text
done in this fashion will appear in other browsers.
Standard Syntax
<comment>...</comment>
Advertisement
Attributes
| Attribute | Value | Description |
|---|---|---|
| data | URL | This attribute references a URL that contains the comment information. |