Export (0) Print
Expand All

2.2.1.5 HTMLCommentElement

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The HTMLCommentElement interface indicates a comment that will not be displayed.

The HTMLCommentElement interface has been added with the following attributes:

The HTMLCommentElement interface has been added with the following methods:

For more information about the HTMLCommentElement interface, see comment.

//Introduced in Internet Explorer.
interface HTMLCommentElement : HTMLElement {
            attribute DOMstring       datatext  
    Node              appendData(in DOMstring data);
    Node              atomic();
    Node              deleteData(in DOMstring data);
    Node              insertData(in DOMstring data);
    Node              replaceData(in DOMstring data);
    Node              substringData(in DOMstring data);
};

IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

The HTMLCommentElement interface is not supported.

Show:
© 2014 Microsoft