Comments out the enclosed text.
Platform Support
| IE | Netscape | Mozilla | Opera | Safari | 4.0-6.0 | no | no | no | no |
|---|
Example
This example comments out the sentence text:
<comment> Do not use this format for comments. </comment>.
Remarks
Deprecated. IE only. Use the <!--><--> tag set to comment out code instead.
Attribute Detail
| Attribute | IE | Netscape | Mozilla | Opera | Safari |
|---|---|---|---|---|---|
Specifies a reference URL for the comment. | 4.0+ | no | no | no | no |
Unique identifier for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Language code for the content of the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Short text description for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Event Detail
| Event | IE | Netscape | Mozilla | Opera | Safari |
|---|---|---|---|---|---|
Fires when one of the properties of the element changes. | 4.0+ | no | no | no | no |
Fires when the ready state of the element changes. | 4.0+ | no | no | no | no |
