JavaScript: The Definitive Guide

25.48. Comment: an HTML or XML comment

DOM Level 1 Core: Node CharacterData Comment

25.48.1. 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. Create a comment object with Document.createComment( ).

25.48.2. See Also

CharacterData

Категории