DekGenius.com
Team LiB   Previous Section   Next Section
Comment an HTML or XML comment

Availability

DOM Level 1 Core

Inherits from/Overrides

Node figs/U2192.gif CharacterData figs/U2192.gif Comment

Description

A Comment node represents a comment in an HTML or XML document. The content of the comment (i.e., the text between <!-- and -->) is available through the data property inherited from the CharacterData interface or through the nodeValue property inherited from the Node interface. This content may be manipulated using the various methods inherited from CharacterData.

See Also

CharacterData

Returned by

Document.createComment( )

    Team LiB   Previous Section   Next Section