Change Language


Follow Navioo On Twitter

comment

Comments out the enclosed text.

Browser/User Agent 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
data
[URL]
Specifies a reference URL for the comment.
4.0+ no no no no
 
id
[element-id]
Unique identifier for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
lang
[language-code]. Example values: "en" (English), "fr" (French), "es" (Spanish), etc.
Language code for the content of the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
title
[text-description]
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
 

Examples -> Source code Demo online - > :

Ajax Javascript feed

↑ Grab this Headline Animator